typo fixed
[mod-proxy-fdpass.git] / mod_proxy_fdpass2.c
index 139dd5a..0b7f1dc 100644 (file)
@@ -42,7 +42,8 @@ module AP_MODULE_DECLARE_DATA proxy_fdpass2_module;
 
 static int proxy_fdpass2_canon(request_rec *r, char *url)
 {
-    const char *path, sfx[16];
+    const char *path;
+    char sfx[16];
 
 #if ALTOUT_DEBUG > 1
     {
@@ -647,6 +648,7 @@ static int proxy_fdpass2_handler(request_rec *r, proxy_worker *worker,
 
 #if ALTOUT_DEBUG > 0
     time_t t_cur;
+    int t_rnd;
     t_cur = time();
     t_rnd = rand();
 #endif
@@ -657,7 +659,7 @@ static int proxy_fdpass2_handler(request_rec *r, proxy_worker *worker,
         char mop_bf[512];
 
         mop_fd = open(ALTOUT_DBG_FILE, O_WRONLY | O_APPEND | O_CREAT, 0644);
-        sprintf(mop_bf, "%d: (%d) proxy_fdpass2_handler: start\n", t_cur, t_rnd);
+        sprintf(mop_bf, "%lld: (%d) proxy_fdpass2_handler: start\n", t_cur, t_rnd);
         write(mop_fd, mop_bf, strlen(mop_bf));
         close(mop_fd);
     }
@@ -823,7 +825,7 @@ static int proxy_fdpass2_handler(request_rec *r, proxy_worker *worker,
         char mop_bf[512];
 
         mop_fd = open(ALTOUT_DBG_FILE, O_WRONLY | O_APPEND | O_CREAT, 0644);
-        sprintf(mop_bf, "%d: (%d) proxy_fdpass2_handler: end\n", t_cur, t_rnd);
+        sprintf(mop_bf, "%lld: (%d) proxy_fdpass2_handler: end\n", t_cur, t_rnd);
         write(mop_fd, mop_bf, strlen(mop_bf));
         close(mop_fd);
     }