Lines 1469-1475
Link Here
|
1469 |
|
1469 |
|
1470 |
d->hstent->lock = d->hstent->rLogin = d->hstent->goodExit = |
1470 |
d->hstent->lock = d->hstent->rLogin = d->hstent->goodExit = |
1471 |
d->sdRec.how = 0; |
1471 |
d->sdRec.how = 0; |
1472 |
d->lastStart = now; |
1472 |
/* If this is a local server then we record the actual |
|
|
1473 |
* start time of the server - this is because the server |
1474 |
* can be reset without restarting and it can crash when, |
1475 |
* or after, reset - we don't want to disable it if it |
1476 |
* crashes in this case. (See exitDisplay() below.) |
1477 |
* 'lastStart' is set in server.c to make this work. |
1478 |
*/ |
1479 |
if ((d->displayType & d_location) != dLocal) |
1480 |
d->lastStart = now; |
1473 |
break; |
1481 |
break; |
1474 |
} |
1482 |
} |
1475 |
} |
1483 |
} |
Lines 1558-1564
Link Here
|
1558 |
} else { |
1566 |
} else { |
1559 |
if (serverCmd == XS_RETRY) { |
1567 |
if (serverCmd == XS_RETRY) { |
1560 |
if ((d->displayType & d_location) == dLocal) { |
1568 |
if ((d->displayType & d_location) == dLocal) { |
1561 |
if (he->lastExit - d->lastStart < 120) { |
1569 |
if (he->lastExit - d->lastStart < 20) { |
1562 |
logError( "Unable to fire up local display %s;" |
1570 |
logError( "Unable to fire up local display %s;" |
1563 |
" disabling.\n", d->name ); |
1571 |
" disabling.\n", d->name ); |
1564 |
stopDisplay( d ); |
1572 |
stopDisplay( d ); |