#include <signal.h> // for signal handling
// --- Custom headers --- //
-#include "query.h"
+#include "fastcgi.h"
#include "log.h"
#include "options.h"
#include "sensor.h"
}
// run request thread in the main thread
- Query_Main(NULL); //TODO: Replace with FastCGI code
+ FCGI_RequestLoop(NULL);
return 0;
}