Changeset a56efea in code
- Timestamp:
- Jun 13, 2015, 11:22:08 PM (10 years ago)
- Branches:
- master
- Children:
- 3347cd9
- Parents:
- 863edf1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
icb.c
r863edf1 ra56efea 143 143 case ICB_M_COMMAND: { 144 144 char cmd[ICB_MAXCMDLEN]; 145 char arg[ICB_MAXTOPICLEN];146 145 147 146 memset(cmd, 0, sizeof cmd); … … 152 151 return (1); 153 152 } 154 memset(arg, 0, sizeof arg); 155 if (icb_token(msg, msglen, &wptr, arg, ICB_MAXTOPICLEN, 156 ICB_M_SEP, 1) < 0) { 157 icb_error(is, "Invalid argument"); 158 icbd_drop(is, NULL); 159 return (1); 160 } 161 icb_command(is, cmd, arg); 153 msg = wptr; 154 icb_command(is, cmd, msg); 162 155 break; 163 156 }
Note:
See TracChangeset
for help on using the changeset viewer.