Commit 40c7f837 authored by William Jon McCann's avatar William Jon McCann Committed by William Jon McCann

Make username const.

2007-10-18  William Jon McCann  <mccann@jhu.edu>

	* daemon/gdm-session-record.c (gdm_session_write_record):
	Make username const.


svn path=/trunk/; revision=5382
parent e31a5c45
2007-10-18 William Jon McCann <mccann@jhu.edu>
* daemon/gdm-session-record.c (gdm_session_write_record):
Make username const.
2007-10-18 William Jon McCann <mccannwj@acsnb1>
* daemon/gdm-session.c:
......
......@@ -55,11 +55,11 @@ gdm_session_write_record (GdmSessionRecordType record_type,
const char *x11_display_name,
const char *display_device)
{
UTMP session_record = { 0 };
UTMP *u;
GTimeVal now = { 0 };
char *hostname;
char *username;
UTMP session_record = { 0 };
UTMP *u;
GTimeVal now = { 0 };
char *hostname;
const char *username;
u = NULL;
......
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