projects
/
mod-proxy-fdpass.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix missing time() argument
[mod-proxy-fdpass.git]
/
mod_proxy_fdpass2.c
diff --git
a/mod_proxy_fdpass2.c
b/mod_proxy_fdpass2.c
index
ba1c678
..
3b2afb4
100644
(file)
--- a/
mod_proxy_fdpass2.c
+++ b/
mod_proxy_fdpass2.c
@@
-262,6
+262,7
@@
static apr_status_t send_socket(apr_pool_t *p,
write(mop_fd, mop_bf, strlen(mop_bf));
close(mop_fd);
}
write(mop_fd, mop_bf, strlen(mop_bf));
close(mop_fd);
}
+#endif
if (rv == -1) {
return errno;
if (rv == -1) {
return errno;
@@
-413,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
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;
int t_rnd;
- t_cur =
time(
);
+ t_cur =
(long long)time(NULL
);
t_rnd = rand();
#endif
t_rnd = rand();
#endif