X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=mod_proxy_fdpass2.c;h=0b7f1dcf6551fd102076e28037ebccce3b55868f;hb=abb40f67a9c39c3a8341de503fe81020e8aa0522;hp=373c62b5306979069825a40698e3082bc3e5930d;hpb=d2d69719ae43c40a3924efcc1ec3d8afb99b323a;p=mod-proxy-fdpass.git diff --git a/mod_proxy_fdpass2.c b/mod_proxy_fdpass2.c index 373c62b..0b7f1dc 100644 --- a/mod_proxy_fdpass2.c +++ b/mod_proxy_fdpass2.c @@ -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 { @@ -658,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); } @@ -824,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); }