Mercurial > pidgin
diff src/protocols/silc/ops.c @ 13446:1118b6fc3206
[gaim-migrate @ 15821]
Don't risk dereferencing a NULL pointer, nickname is guaranteed to be
non-NULL if we got this far.
Fixes CID 21
committer: Tailor Script <tailor@pidgin.im>
| author | Stu Tomlinson <stu@nosnilmot.com> |
|---|---|
| date | Tue, 07 Mar 2006 09:33:26 +0000 |
| parents | b2efa1432708 |
| children | cfc2f7fcb3dd |
line wrap: on
line diff
--- a/src/protocols/silc/ops.c Tue Mar 07 08:34:36 2006 +0000 +++ b/src/protocols/silc/ops.c Tue Mar 07 09:33:26 2006 +0000 @@ -1359,7 +1359,7 @@ } buf = g_string_free(s, FALSE); - gaim_notify_userinfo(gc, client_entry->nickname, buf, NULL, NULL); + gaim_notify_userinfo(gc, nickname, buf, NULL, NULL); g_free(buf); } break;
