- Timestamp:
- Apr 22, 2015, 5:38:18 PM (10 years ago)
- Branches:
- master
- Children:
- e22d747
- Parents:
- 65b48ee
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
icb.c
r65b48ee r8b1683e 94 94 char cmd[ICB_MAXCMDLEN]; 95 95 96 memset(client, 0, sizeof client); 96 97 if (icb_token(msg, msglen, &wptr, client, ICB_MAXNICKLEN, 97 98 ICB_M_SEP, 1) < 0) { … … 100 101 return (1); 101 102 } 103 memset(nick, 0, sizeof nick); 102 104 if (icb_token(msg, msglen, &wptr, nick, ICB_MAXNICKLEN, 103 105 ICB_M_SEP, 1) <= 0) { … … 106 108 return (1); 107 109 } 110 memset(group, 0, sizeof group); 108 111 if (icb_token(msg, msglen, &wptr, group, ICB_MAXGRPLEN, 109 112 ICB_M_SEP, 1) < 0) { … … 112 115 return (1); 113 116 } 117 memset(cmd, 0, sizeof cmd); 114 118 if (icb_token(msg, msglen, &wptr, cmd, ICB_MAXCMDLEN, 115 119 ICB_M_SEP, 1) < 0) { … … 139 143 char arg[ICB_MAXTOPICLEN]; 140 144 145 memset(cmd, 0, sizeof cmd); 141 146 if (icb_token(msg, msglen, &wptr, cmd, ICB_MAXCMDLEN, 142 147 ICB_M_SEP, 1) <= 0) { … … 145 150 return (1); 146 151 } 152 memset(arg, 0, sizeof arg); 147 153 if (icb_token(msg, msglen, &wptr, arg, ICB_MAXTOPICLEN, 148 154 ICB_M_SEP, 1) < 0) {
Note:
See TracChangeset
for help on using the changeset viewer.