comparison src/protocols/jabber/jabber.c @ 3260:778646c2adbc

[gaim-migrate @ 3278] Better fix for NULL JID resource in presence handling. (faceprint insisted) committer: Tailor Script <tailor@pidgin.im>
author Jim Seymour <jseymour>
date Sat, 18 May 2002 23:31:33 +0000
parents 8b1309bea7e5
children 522f37c9f9d2
comparison
equal deleted inserted replaced
3259:8b1309bea7e5 3260:778646c2adbc
1085 } 1085 }
1086 if (!b->proto_data) { 1086 if (!b->proto_data) {
1087 serv_got_update(GJ_GC(gjc), buddy, 0, 0, 0, 0, 0, 0); 1087 serv_got_update(GJ_GC(gjc), buddy, 0, 0, 0, 0, 0, 0);
1088 } 1088 }
1089 } else { 1089 } else {
1090 if (!resources) { 1090 if (res && !resources) {
1091 b->proto_data = g_slist_append(b->proto_data, g_strdup(res)); 1091 b->proto_data = g_slist_append(b->proto_data, g_strdup(res));
1092 } 1092 }
1093 1093
1094 serv_got_update(GJ_GC(gjc), buddy, 1, 0, b->signon, b->idle, state, 0); 1094 serv_got_update(GJ_GC(gjc), buddy, 1, 0, b->signon, b->idle, state, 0);
1095 1095