- Moved some code from main.c to screenlist.c
- Implemented reloading by sending SIGHUP. - Now doing 'real 8Hz' rendering and 32Hz input processing. - Removed noscreen feature (that we rejected).
This commit is contained in:
+6
-1
@@ -25,7 +25,7 @@
|
||||
#include "shared/report.h"
|
||||
#include "render.h"
|
||||
|
||||
LinkedList *clientlist;
|
||||
LinkedList *clientlist = NULL;
|
||||
|
||||
/* Initialize and kill client list...*/
|
||||
int
|
||||
@@ -49,6 +49,11 @@ clients_shutdown ()
|
||||
|
||||
debug (RPT_DEBUG, "%s()", __FUNCTION__);
|
||||
|
||||
if( !clientlist ) {
|
||||
/* Program shutdown before completed startup */
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* Free all client structures... */
|
||||
for (c=LL_GetFirst (clientlist); c; c=LL_GetNext (clientlist) ) {
|
||||
debug (RPT_DEBUG, "%s: ...", __FUNCTION__);
|
||||
|
||||
Reference in New Issue
Block a user