Mercurial > pidgin
comparison src/protocols/oscar/buddylist.c @ 10990:8d74ae785a46
[gaim-migrate @ 12828]
More compile warning getting rid of. Also fix the crash from my last
batch of comile warning getting rid ofs.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 09 Jun 2005 04:33:52 +0000 |
parents | 096197a628bf |
children | 7d31d61e6438 |
comparison
equal
deleted
inserted
replaced
10989:b4919e8c634c | 10990:8d74ae785a46 |
---|---|
86 | 86 |
87 snacid = aim_cachesnac(sess, 0x0003, 0x0004, 0x0000, sn, strlen(sn)+1); | 87 snacid = aim_cachesnac(sess, 0x0003, 0x0004, 0x0000, sn, strlen(sn)+1); |
88 aim_putsnac(&fr->data, 0x0003, 0x0004, 0x0000, snacid); | 88 aim_putsnac(&fr->data, 0x0003, 0x0004, 0x0000, snacid); |
89 | 89 |
90 aimbs_put8(&fr->data, strlen(sn)); | 90 aimbs_put8(&fr->data, strlen(sn)); |
91 aimbs_putraw(&fr->data, sn, strlen(sn)); | 91 aimbs_putstr(&fr->data, sn); |
92 | 92 |
93 aim_tx_enqueue(sess, fr); | 93 aim_tx_enqueue(sess, fr); |
94 | 94 |
95 return 0; | 95 return 0; |
96 } | 96 } |
133 for (tmpptr = strtok(localcpy, "&"); tmpptr; ) { | 133 for (tmpptr = strtok(localcpy, "&"); tmpptr; ) { |
134 | 134 |
135 faimdprintf(sess, 2, "---adding: %s (%d)\n", tmpptr, strlen(tmpptr)); | 135 faimdprintf(sess, 2, "---adding: %s (%d)\n", tmpptr, strlen(tmpptr)); |
136 | 136 |
137 aimbs_put8(&fr->data, strlen(tmpptr)); | 137 aimbs_put8(&fr->data, strlen(tmpptr)); |
138 aimbs_putraw(&fr->data, tmpptr, strlen(tmpptr)); | 138 aimbs_putstr(&fr->data, tmpptr); |
139 tmpptr = strtok(NULL, "&"); | 139 tmpptr = strtok(NULL, "&"); |
140 } | 140 } |
141 | 141 |
142 aim_tx_enqueue(sess, fr); | 142 aim_tx_enqueue(sess, fr); |
143 | 143 |
166 | 166 |
167 snacid = aim_cachesnac(sess, 0x0003, 0x0005, 0x0000, sn, strlen(sn)+1); | 167 snacid = aim_cachesnac(sess, 0x0003, 0x0005, 0x0000, sn, strlen(sn)+1); |
168 aim_putsnac(&fr->data, 0x0003, 0x0005, 0x0000, snacid); | 168 aim_putsnac(&fr->data, 0x0003, 0x0005, 0x0000, snacid); |
169 | 169 |
170 aimbs_put8(&fr->data, strlen(sn)); | 170 aimbs_put8(&fr->data, strlen(sn)); |
171 aimbs_putraw(&fr->data, sn, strlen(sn)); | 171 aimbs_putstr(&fr->data, sn); |
172 | 172 |
173 aim_tx_enqueue(sess, fr); | 173 aim_tx_enqueue(sess, fr); |
174 | 174 |
175 return 0; | 175 return 0; |
176 } | 176 } |
221 | 221 |
222 snacid = aim_cachesnac(sess, 0x0003, 0x000c, 0x0000, NULL, 0); | 222 snacid = aim_cachesnac(sess, 0x0003, 0x000c, 0x0000, NULL, 0); |
223 | 223 |
224 aim_putsnac(&fr->data, 0x0003, 0x000c, 0x0000, snacid); | 224 aim_putsnac(&fr->data, 0x0003, 0x000c, 0x0000, snacid); |
225 aimbs_put8(&fr->data, strlen(sn)); | 225 aimbs_put8(&fr->data, strlen(sn)); |
226 aimbs_putraw(&fr->data, sn, strlen(sn)); | 226 aimbs_putstr(&fr->data, sn); |
227 | 227 |
228 aim_tx_enqueue(sess, fr); | 228 aim_tx_enqueue(sess, fr); |
229 | 229 |
230 return 0; | 230 return 0; |
231 } | 231 } |