comparison src/protocols/jabber/presence.c @ 7280:f946af3b0039

[gaim-migrate @ 7859] fix &copy; and &reg; in gtkimhtml fix a potential segfault on jabber committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Thu, 16 Oct 2003 04:17:25 +0000
parents d152ea377e4a
children dd4b4a187171
comparison
equal deleted inserted replaced
7279:0d24c94e4fbc 7280:f946af3b0039
151 int state = 0; 151 int state = 0;
152 xmlnode *y; 152 xmlnode *y;
153 gboolean muc = FALSE; 153 gboolean muc = FALSE;
154 154
155 jb = jabber_buddy_find(js, from, TRUE); 155 jb = jabber_buddy_find(js, from, TRUE);
156
157 if(!jb)
158 return;
156 159
157 if(jb->error_msg) { 160 if(jb->error_msg) {
158 g_free(jb->error_msg); 161 g_free(jb->error_msg);
159 jb->error_msg = NULL; 162 jb->error_msg = NULL;
160 } 163 }