Merge pull request #14 from jtanx/master
[matches/MCTX3420.git] / server / main.c
index 524f550..5e2c6c8 100644 (file)
@@ -9,7 +9,7 @@
 #include <signal.h> // for signal handling
 
 // --- Custom headers --- //
-
+#include "query.h"
 #include "log.h"
 #include "options.h"
 #include "sensor.h"
@@ -74,7 +74,7 @@ int main(int argc, char ** argv)
        }
 
        // run request thread in the main thread
-       Query_Request(NULL); //TODO: Replace with FastCGI code
+       Query_Main(NULL); //TODO: Replace with FastCGI code
        return 0;
 }
 

UCC git Repository :: git.ucc.asn.au