changeset 9023:84640caaacbf

[gaim-migrate @ 9799] An empty string is not a valid screen name. This might work around bug 958596. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 23 May 2004 01:21:01 +0000
parents 7f456c05b767
children 85caba2f820a
files src/blist.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/blist.c	Sat May 22 23:26:42 2004 +0000
+++ b/src/blist.c	Sun May 23 01:21:01 2004 +0000
@@ -1284,7 +1284,7 @@
 	if (!gaimbuddylist)
 		return NULL;
 
-	if (!name)
+	if ((name == NULL) || (*name == '\0'))
 		return NULL;
 
 	hb.account = account;