src/protocols/novell/novell.c

changeset 13437
5c4c7be53d37
parent 13297
b97c7fb0b6b9
child 13546
0700f0c29e14
--- a/src/protocols/novell/novell.c	Tue Mar 07 05:54:36 2006 +0000
+++ b/src/protocols/novell/novell.c	Tue Mar 07 07:17:39 2006 +0000
@@ -339,7 +339,7 @@
 			folder_name = nm_folder_get_name(folder);
 		}
 
-		if (*folder_name == '\0')
+		if (folder_name == NULL || *folder_name == '\0')
 			folder_name = NM_ROOT_FOLDER_NAME;
 
 		/* Re-add the buddy now that we got the okay from the server */

mercurial