Mercurial > pidgin
comparison src/protocols/msn/msg.c @ 7590:3a48ade4f510
[gaim-migrate @ 8208]
The MSNSLP stuff pretty much works. I have it disabled in this commit just
in case, but I should have the rest done tonight. Also, client IDs are now
sent (which was part of the problem), as are the MSNObjects (the other half
of the problem).
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 22 Nov 2003 00:47:24 +0000 |
parents | 08ce2a94d9c7 |
children | 582f764b26f6 |
comparison
equal
deleted
inserted
replaced
7589:59c1cee97cbb | 7590:3a48ade4f510 |
---|---|
155 field2 = tmp; | 155 field2 = tmp; |
156 | 156 |
157 GET_NEXT(tmp); /* Skip the username or flag */ | 157 GET_NEXT(tmp); /* Skip the username or flag */ |
158 msg->size = atoi(tmp); | 158 msg->size = atoi(tmp); |
159 | 159 |
160 #if 0 | |
161 /* Put this back when we intelligently handle binary strings. */ | |
160 if (msg->size != strlen(strchr(str, '\n') + 1)) { | 162 if (msg->size != strlen(strchr(str, '\n') + 1)) { |
161 gaim_debug(GAIM_DEBUG_ERROR, "msn", | 163 gaim_debug(GAIM_DEBUG_ERROR, "msn", |
162 "Incoming message size (%d) and string length (%d) " | 164 "Incoming message size (%d) and string length (%d) " |
163 "do not match!\n", msg->size, strlen(str)); | 165 "do not match!\n", msg->size, strlen(str)); |
164 } | 166 } |
167 #endif | |
165 | 168 |
166 /* | 169 /* |
167 * We're going to make sure this is incoming by checking field1. | 170 * We're going to make sure this is incoming by checking field1. |
168 * If it has any non-numbers in it, it's incoming. Otherwise, outgoing. | 171 * If it has any non-numbers in it, it's incoming. Otherwise, outgoing. |
169 */ | 172 */ |