Changeset 6fb6410
- Timestamp:
- 2006-05-26T15:02:41Z (19 years ago)
- Branches:
- master
- Children:
- 84eddee
- Parents:
- 1cda4f3 (diff), 6048744 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- protocols
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/http_client.c
r1cda4f3 r6fb6410 240 240 241 241 got_reply: 242 /* Maybe if the webserver is overloaded, or when there's bad SSL 243 support... */ 244 if( req->bytes_read == 0 ) 245 goto cleanup; 246 242 247 /* Zero termination is very convenient. */ 243 248 req->reply_headers[req->bytes_read] = 0; -
protocols/msn/sb.c
r1cda4f3 r6fb6410 523 523 { 524 524 msn_sb_destroy( sb ); 525 return ( 0 );526 } 527 if( err->flags & STATUS_FATAL )525 return 0; 526 } 527 else if( err->flags & STATUS_FATAL ) 528 528 { 529 529 signoff( gc ); 530 return ( 0 );531 } 532 if( err->flags & STATUS_SB_IM_SPARE )530 return 0; 531 } 532 else if( err->flags & STATUS_SB_IM_SPARE ) 533 533 { 534 534 if( sb->who ) … … 553 553 sb->msgq = NULL; 554 554 } 555 556 /* Do NOT return 0 here, we want to keep this sb. */ 555 557 } 556 558 } -
protocols/msn/tables.c
r1cda4f3 r6fb6410 127 127 128 128 { 910, "Server is busy", STATUS_FATAL }, 129 { 911, "Authentication failed", STATUS_ FATAL },129 { 911, "Authentication failed", STATUS_SB_FATAL | STATUS_FATAL }, 130 130 { 912, "Server is busy", STATUS_FATAL }, 131 131 { 913, "Not allowed when hiding", 0 }, -
protocols/oscar/chat.c
r1cda4f3 r6fb6410 163 163 the right charset flags, as we also do with normal 164 164 messages. Hope this will work. :-) */ 165 /* 165 166 if (flags & AIM_CHATFLAGS_UNICODE) 166 167 aimbs_put16(&fr->data, 0x0002); … … 171 172 172 173 aimbs_put16(&fr->data, 0x0000); 174 */ 173 175 174 176 /* -
protocols/oscar/im.c
r1cda4f3 r6fb6410 1469 1469 case 0x9c: /* ICQ 5 seems to send this */ 1470 1470 aim_send_im_ch2_statusmessage(sess, userinfo->sn, args->cookie, 1471 gc->away , sess->aim_icq_state, dc);1471 gc->away ? gc->away : "", sess->aim_icq_state, dc); 1472 1472 break; 1473 1473 -
protocols/oscar/oscar.c
r1cda4f3 r6fb6410 138 138 int i, j; 139 139 char *x = strchr(name, '-'); 140 if (!x) return NULL;140 if (!x) return g_strdup(name); 141 141 x = strchr(++x, '-'); 142 if (!x) return NULL;142 if (!x) return g_strdup(name); 143 143 tmp = g_strdup(++x); 144 144 … … 2607 2607 int ret; 2608 2608 static int chat_id = 0; 2609 char * chatname = g_new0(char, strlen(gc->username)+4);2610 2611 g_snprintf(chatname, strlen(gc->username) + 4,"%s%d", gc->username, chat_id++);2609 char * chatname; 2610 2611 chatname = g_strdup_printf("%s%d", gc->username, chat_id++); 2612 2612 2613 2613 ret = oscar_chat_join(gc, chatname);
Note: See TracChangeset
for help on using the changeset viewer.