changeset 14393:81932c1ec6cf

[gaim-migrate @ 17101] This shouldn't be necessary, but I don't see how it's happening just yet committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Thu, 31 Aug 2006 21:50:55 +0000
parents 92eb7a040663
children 2620e491c8f1
files console/gntblist.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/console/gntblist.c	Thu Aug 31 09:44:51 2006 +0000
+++ b/console/gntblist.c	Thu Aug 31 21:50:55 2006 +0000
@@ -121,6 +121,11 @@
 static void
 node_update(GaimBuddyList *list, GaimBlistNode *node)
 {
+	/* It really looks like this should never happen ... but it does.
+           This will at least emit a warning to the log when it
+           happens, so maybe someone will figure it out. */
+	g_return_if_fail(node != NULL);
+
 	if (list->ui_data == NULL)
 		return;