Commit Diff


commit - 390dd5968cdd3afe632f1daaa18acd611d7cdb5b
commit + c4e6dde0fb99f24bb7e08554517a4a3670751629
blob - 264f82269384d4b7fee7add1d3b756432256ccf8
blob + eca6308b9bf18101f58c4bec2b2ef6f44b69e302
--- log.c
+++ log.c
@@ -38,6 +38,9 @@
 
 static int		 debug;
 static int		 verbose;
+static int access_fd;
+static int error_fd;
+
 static const char	*log_procname;
 
 void
blob - 7231eb2d9353adf97e052f90db88b38d25aab5c4
blob + 9d9fce3ad479da1a3dd3a06969b71160dba3500b
--- twind.h
+++ twind.h
@@ -26,9 +26,6 @@
 #define _PATH_TWIND_ACCESS_LOG "logs/access.log"
 #define _PATH_TWIND_ERROR_LOG "logs/error.log"
 
-static int access_fd;
-static int error_fd;
-
 enum status_codes {
 	STATUS_INPUT = 10,
 	STATUS_SENSITIVE_INPUT = 11,