From: Matteo Nastasi Date: Sat, 4 Apr 2020 12:32:09 +0000 (+0200) Subject: better printf type for time_t X-Git-Tag: v3.0.1~9 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=ae573f98e241c2d4ebe8d7d713aa7ef2f19df2b3;p=mod-proxy-fdpass.git better printf type for time_t --- diff --git a/mod_proxy_fdpass2.c b/mod_proxy_fdpass2.c index 373c62b..5ffa97d 100644 --- a/mod_proxy_fdpass2.c +++ b/mod_proxy_fdpass2.c @@ -658,7 +658,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 +824,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); }