diff options
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 e78d8a66c..c5f0c3136 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->serverStatus = starting; + d->servertqStatus = starting; switch (pid = Fork()) { case 0: argv = PrepServerArgv( d, d->serverArgsLocal ); @@ -136,9 +136,9 @@ AbortStartServer( struct display *d ) { if (startingServer == d) { - if (d->serverStatus != ignore) + if (d->servertqStatus != ignore) { - d->serverStatus = ignore; + d->servertqStatus = ignore; serverTimeout = TO_INF; Debug( "aborting X server start\n" ); } @@ -150,7 +150,7 @@ void StartServerSuccess() { struct display *d = startingServer; - d->serverStatus = ignore; + d->servertqStatus = 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->serverStatus = pausing; + d->servertqStatus = pausing; serverTimeout = d->openDelay + now; } else { - d->serverStatus = ignore; + d->servertqStatus = 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->serverStatus) { + switch (d->servertqStatus) { case ignore: case awaiting: break; /* cannot happen */ case starting: LogError( "X server startup timeout, terminating\n" ); kill( d->serverPid, d->termSignal ); - d->serverStatus = d->termSignal == SIGKILL ? killed : terminated; + d->servertqStatus = d->termSignal == SIGKILL ? killed : terminated; serverTimeout = d->serverTimeout + now; break; case terminated: LogInfo( "X server termination timeout, killing\n" ); kill( d->serverPid, SIGKILL ); - d->serverStatus = killed; + d->servertqStatus = killed; serverTimeout = 10 + now; break; case killed: |