changeset 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 96a6285b9879
children 7b8f12aacfa1
files src/protocols/silc/ops.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;