Commit c759901d authored by William Jon McCann's avatar William Jon McCann Committed by William Jon McCann

Don't print null strings - solaris crashes. Patch from Brian Cameron

2007-09-04  William Jon McCann  <mccann@jhu.edu>

	* daemon/gdm-session-worker.c (gdm_session_worker_verify_user):
	Don't print null strings - solaris crashes.
	Patch from Brian Cameron <brian.cameron@sun.com>


svn path=/branches/mccann-gobject/; revision=5224
parent 243384ba
2007-09-04 William Jon McCann <mccann@jhu.edu>
* daemon/gdm-session-worker.c (gdm_session_worker_verify_user):
Don't print null strings - solaris crashes.
Patch from Brian Cameron <brian.cameron@sun.com>
2007-09-04 William Jon McCann <mccann@jhu.edu>
* common/gdm-address.c: (gdm_address_peek_local_list):
......
......@@ -1119,7 +1119,11 @@ gdm_session_worker_verify_user (GdmSessionWorker *worker,
GError *pam_error;
gboolean res;
g_debug ("Verifying user: %s host: %s service: %s tty: %s", username, hostname, service_name, console_name);
g_debug ("Verifying user: %s host: %s service: %s tty: %s",
username != NULL ? username : "(null)",
hostname != NULL ? hostname : "(null)",
service_name != NULL ? service_name : "(null)",
console_name != NULL ? console_name : "(null)");
pam_error = NULL;
res = gdm_session_worker_initialize_pam (worker,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment