changeset 7110:b003397b16fe

[gaim-migrate @ 7676] I know the string is NULL. I'm quite sick of hearing about it, thanks. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Wed, 01 Oct 2003 15:23:49 +0000
parents 9d6f244e0605
children b9664e6257b5
files src/util.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/util.c	Wed Oct 01 07:32:36 2003 +0000
+++ b/src/util.c	Wed Oct 01 15:23:49 2003 +0000
@@ -817,7 +817,8 @@
 	gboolean visible = TRUE;
 	gchar *str2;
 
-	g_return_val_if_fail(str != NULL, NULL);
+	if(!str)
+		return NULL;
 
 	str2 = g_strdup(str);