* Rewrote the HTTP engine and application coupling to run in a worker thread
[citadel.git] / webcit / siteconfig.c
index e178a1733486fa9277a0ae71a968112f4105676a..568b0e4e47bf39785bd4f1e49404069c72f24a75 100644 (file)
@@ -3,15 +3,30 @@
  *
  */
 
+
+#include <ctype.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <stdio.h>
+#include <fcntl.h>
 #include <signal.h>
 #include <sys/types.h>
-#include <ctype.h>
+#include <sys/wait.h>
+#include <sys/socket.h>
+#include <sys/time.h>
+#include <limits.h>
+#include <netinet/in.h>
+#include <netdb.h>
 #include <string.h>
+#include <pwd.h>
+#include <errno.h>
+#include <stdarg.h>
+#include <pthread.h>
+#include <signal.h>
 #include "webcit.h"
-#include "child.h"
+
+
+
 
 
 void display_siteconfig(void)
@@ -19,7 +34,7 @@ void display_siteconfig(void)
        char buf[256];
        int i;
 
-       printf("HTTP/1.0 200 OK\n");
+       wprintf("HTTP/1.0 200 OK\n");
        output_headers(1);
 
        serv_printf("CONF get");