]> mop.ddnsfree.com - git repositories - mod-proxy-fdpass.git/commitdiff
time() casting for sprintf
authorMatteo Nastasi <nastasi@alternativeoutput.it>
Sat, 4 Apr 2020 12:47:21 +0000 (14:47 +0200)
committerMatteo Nastasi <nastasi@alternativeoutput.it>
Sat, 4 Apr 2020 12:47:21 +0000 (14:47 +0200)
mod_proxy_fdpass2.c

index 361bd9c4c5205690a00d4b409512f31dac46ace4..1368d9d72a91ce69222d20a756aaeaa70664ed25 100644 (file)
@@ -414,9 +414,9 @@ static int proxy_fdpass2_handler(request_rec *r, proxy_worker *worker,
     rv = get_socket_from_path(r, r->pool, url, &sock);
 
 #if ALTOUT_DEBUG > 0
-    time_t t_cur;
+    long long t_cur;
     int t_rnd;
-    t_cur = time();
+    t_cur = (long long)time();
     t_rnd = rand();
 #endif