changeset 5985:60d9cbfb6bf8

[gaim-migrate @ 6433] Fixed Cae Bug #9. I hope this doesn't mess with anything else. Is there a reason this sanity check doesn't return when the vars are invalid? committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 02 Jul 2003 08:53:03 +0000
parents c55b32640690
children 96e0ac28d933
files src/blist.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/blist.c	Wed Jul 02 08:35:59 2003 +0000
+++ b/src/blist.c	Wed Jul 02 08:53:03 2003 +0000
@@ -736,7 +736,8 @@
 	if (!gaimbuddylist)
 		return NULL;
 	
-	if (!name && !buddy);
+	if (!name && !buddy)
+		return NULL;
 
 	if (name) {
 		group = gaimbuddylist->root;