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/server.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/server.c')
-rw-r--r-- | kdm/backend/server.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kdm/backend/server.c b/kdm/backend/server.c index c5f0c3136..e78d8a66c 100644 --- a/kdm/backend/server.c +++ b/kdm/backend/server.c @@ -77,7 +77,7 @@ StartServerOnce( void ) int pid; Debug( "StartServerOnce for %s, try %d\n", d->name, ++d->startTries ); - d->servertqStatus = starting; + d->serverStatus = starting; switch (pid = Fork()) { case 0: argv = PrepServerArgv( d, d->serverArgsLocal ); @@ -136,9 +136,9 @@ AbortStartServer( struct display *d ) { if (startingServer == d) { - if (d->servertqStatus != ignore) + if (d->serverStatus != ignore) { - d->servertqStatus = ignore; + d->serverStatus = ignore; serverTimeout = TO_INF; Debug( "aborting X server start\n" ); } @@ -150,7 +150,7 @@ void StartServerSuccess() { struct display *d = startingServer; - d->servertqStatus = ignore; + d->serverStatus = ignore; serverTimeout = TO_INF; Debug( "X server ready, starting session\n" ); StartDisplayP2( d ); @@ -161,10 +161,10 @@ StartServerFailed() { struct display *d = startingServer; if (!d->serverAttempts || d->startTries < d->serverAttempts) { - d->servertqStatus = pausing; + d->serverStatus = pausing; serverTimeout = d->openDelay + now; } else { - d->servertqStatus = ignore; + d->serverStatus = ignore; serverTimeout = TO_INF; startingServer = 0; LogError( "X server for display %s can't be started," @@ -177,20 +177,20 @@ void StartServerTimeout() { struct display *d = startingServer; - switch (d->servertqStatus) { + switch (d->serverStatus) { case ignore: case awaiting: break; /* cannot happen */ case starting: LogError( "X server startup timeout, terminating\n" ); kill( d->serverPid, d->termSignal ); - d->servertqStatus = d->termSignal == SIGKILL ? killed : terminated; + d->serverStatus = d->termSignal == SIGKILL ? killed : terminated; serverTimeout = d->serverTimeout + now; break; case terminated: LogInfo( "X server termination timeout, killing\n" ); kill( d->serverPid, SIGKILL ); - d->servertqStatus = killed; + d->serverStatus = killed; serverTimeout = 10 + now; break; case killed: |