changeset 4544:96a2a6c9affc

[gaim-migrate @ 4823] (10:53:17) Robot101: http://people.debian.org/~robot101/printfing-nulls-crashes-solaris-libc.diff i think the file name says it all. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Thu, 06 Feb 2003 15:53:38 +0000
parents 8be012f3a3d6
children 464ec3e2ce43
files src/session.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/session.c	Thu Feb 06 10:13:41 2003 +0000
+++ b/src/session.c	Thu Feb 06 15:53:38 2003 +0000
@@ -300,7 +300,11 @@
 	callbacks.save_complete.client_data      = NULL;
 	callbacks.shutdown_cancelled.client_data = NULL;
 
-	debug_printf("Session Management: connecting with previous ID %s\n", previous_id);
+	if (previous_id) {
+		debug_printf("Session Management: connecting with previous ID %s\n", previous_id);
+	} else {
+		debug_printf("Session Management: connecting with no previous ID\n");
+	}
 
 	session = SmcOpenConnection(NULL, "session", SmProtoMajor, SmProtoMinor, SmcSaveYourselfProcMask |
 		    SmcDieProcMask | SmcSaveCompleteProcMask | SmcShutdownCancelledProcMask,