Mercurial > pidgin.yaz
comparison src/server.c @ 6579:9714538226f0
[gaim-migrate @ 7101]
(20:25:50) Robot101: LSchiere: eek
(20:25:54) Robot101: LSchiere: that's garbled
(20:26:10) Robot101: I said move the c=, not the b=..
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sat, 23 Aug 2003 00:27:10 +0000 |
parents | 1dc3eac729d1 |
children | 42fdf16f1dad |
comparison
equal
deleted
inserted
replaced
6578:1dc3eac729d1 | 6579:9714538226f0 |
---|---|
1090 GaimConversation *c; | 1090 GaimConversation *c; |
1091 struct buddy *b; | 1091 struct buddy *b; |
1092 GSList *buddies; | 1092 GSList *buddies; |
1093 | 1093 |
1094 account = gaim_connection_get_account(gc); | 1094 account = gaim_connection_get_account(gc); |
1095 | 1095 b = gaim_find_buddy(account, name); |
1096 c = gaim_find_conversation(b->name); | |
1097 | 1096 |
1098 if (signon && (GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl)->options & | 1097 if (signon && (GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl)->options & |
1099 OPT_PROTO_CORRECT_TIME)) { | 1098 OPT_PROTO_CORRECT_TIME)) { |
1100 | 1099 |
1101 char *tmp = g_strdup(normalize(name)); | 1100 char *tmp = g_strdup(normalize(name)); |
1112 if (!b) { | 1111 if (!b) { |
1113 gaim_debug(GAIM_DEBUG_ERROR, "server", "No such buddy: %s\n", name); | 1112 gaim_debug(GAIM_DEBUG_ERROR, "server", "No such buddy: %s\n", name); |
1114 return; | 1113 return; |
1115 } | 1114 } |
1116 | 1115 |
1117 b = gaim_find_buddy(account, name); | 1116 c = gaim_find_conversation(b->name); |
1118 | 1117 |
1119 /* This code will 'align' the name from the TOC */ | 1118 /* This code will 'align' the name from the TOC */ |
1120 /* server with what's in our record. We want to */ | 1119 /* server with what's in our record. We want to */ |
1121 /* store things how THEY want it... */ | 1120 /* store things how THEY want it... */ |
1122 if (strcmp(name, b->name)) { | 1121 if (strcmp(name, b->name)) { |