changeset 19513:8c59bb6dfc7e

Fix printf(%s, NULL).
author Daniel Atallah <daniel.atallah@gmail.com>
date Tue, 28 Aug 2007 12:34:33 +0000
parents c88e64f1ed76
children 7b348650524e
files pidgin/gtkcertmgr.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkcertmgr.c	Tue Aug 28 03:59:44 2007 +0000
+++ b/pidgin/gtkcertmgr.c	Tue Aug 28 12:34:33 2007 +0000
@@ -597,7 +597,7 @@
 			for (l=idlist; l; l = l->next) {
 				purple_debug_info("gtkcertmgr",
 						  "- %s\n",
-						  (gchar *) l->data);
+						  l->data ? (gchar *) l->data : "(null)");
 			} /* idlist */
 			purple_certificate_pool_destroy_idlist(idlist);
 		} /* poollist */