Mercurial > pidgin
comparison libpurple/protocols/msn/state.c @ 30735:66e7fe9f7810
propagate from branch 'im.pidgin.pidgin' (head cd770a44f05f96d1e74ea761e614d1a468ba60df)
to branch 'im.pidgin.cpw.qulogic.msnp16' (head 6d2fd5bca8c2fda994d1dfbb04197ab9882d652d)
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sat, 22 May 2010 06:27:18 +0000 |
parents | 7913a4bf580c ec3bbe476cc1 |
children | a99b6dcdb60d |
comparison
equal
deleted
inserted
replaced
30730:f8ec889c5bce | 30735:66e7fe9f7810 |
---|---|
246 if (msnobj == NULL) | 246 if (msnobj == NULL) |
247 { | 247 { |
248 if (session->protocol_ver >= 16) | 248 if (session->protocol_ver >= 16) |
249 trans = msn_transaction_new(cmdproc, "CHG", "%s %u:%02u 0", state_text, caps, MSN_CLIENT_ID_EXT_CAPS); | 249 trans = msn_transaction_new(cmdproc, "CHG", "%s %u:%02u 0", state_text, caps, MSN_CLIENT_ID_EXT_CAPS); |
250 else | 250 else |
251 trans = msn_transaction_new(cmdproc, "CHG", "%s %d", state_text, caps); | 251 trans = msn_transaction_new(cmdproc, "CHG", "%s %u", state_text, caps); |
252 } | 252 } |
253 else | 253 else |
254 { | 254 { |
255 char *msnobj_str; | 255 char *msnobj_str; |
256 | 256 |
258 | 258 |
259 if (session->protocol_ver >= 16) | 259 if (session->protocol_ver >= 16) |
260 trans = msn_transaction_new(cmdproc, "CHG", "%s %u:%02u %s", state_text, | 260 trans = msn_transaction_new(cmdproc, "CHG", "%s %u:%02u %s", state_text, |
261 caps, MSN_CLIENT_ID_EXT_CAPS, purple_url_encode(msnobj_str)); | 261 caps, MSN_CLIENT_ID_EXT_CAPS, purple_url_encode(msnobj_str)); |
262 else | 262 else |
263 trans = msn_transaction_new(cmdproc, "CHG", "%s %d %s", state_text, | 263 trans = msn_transaction_new(cmdproc, "CHG", "%s %u %s", state_text, |
264 caps, purple_url_encode(msnobj_str)); | 264 caps, purple_url_encode(msnobj_str)); |
265 | 265 |
266 g_free(msnobj_str); | 266 g_free(msnobj_str); |
267 } | 267 } |
268 | 268 |