diff options
| author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 04:10:07 +0000 | 
|---|---|---|
| committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 04:10:07 +0000 | 
| commit | fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf (patch) | |
| tree | 9eda848e56fcb862fdfdf479adeccd95b6fe387a /kdm/backend/auth.c | |
| parent | 02f67d0e1355b79b1806746efb0f2f640e57f13d (diff) | |
| download | tdebase-fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf.tar.gz tdebase-fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf.zip | |
Revert automated changes
Sorry guys, they are just not ready for prime time
Work will continue as always
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1212480 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdm/backend/auth.c')
| -rw-r--r-- | kdm/backend/auth.c | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/kdm/backend/auth.c b/kdm/backend/auth.c index 7d7af6e54..3fb18ac4c 100644 --- a/kdm/backend/auth.c +++ b/kdm/backend/auth.c @@ -1038,16 +1038,16 @@ static void  startUserAuth( char *buf, char *nbuf, FILE **old, FILE **new )  {  	const char *home; -	int locktqStatus; +	int lockStatus;  	initAddrs();  	*new = 0;  	if ((home = getEnv( userEnviron, "HOME" )) && strlen( home ) < NBSIZE - 12) {  		sprintf( buf, "%s/.Xauthority", home );  		Debug( "XauLockAuth %s\n", buf ); -		locktqStatus = XauLockAuth( buf, 1, 2, 10 ); -		Debug( "lock is %d\n", locktqStatus ); -		if (locktqStatus == LOCK_SUCCESS) +		lockStatus = XauLockAuth( buf, 1, 2, 10 ); +		Debug( "lock is %d\n", lockStatus ); +		if (lockStatus == LOCK_SUCCESS)  			if (!openFiles( buf, nbuf, old, new ))  				XauUnlockAuth( buf );  	} | 
