# HG changeset patch # User Luke Schierer # Date 1044546818 0 # Node ID 96a2a6c9affce5506b89fac6b15e0d29d0f172d0 # Parent 8be012f3a3d60d2182f4ae58572eb0c50325bb17 [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 diff -r 8be012f3a3d6 -r 96a2a6c9affc src/session.c --- 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,