X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=mod_proxy_fdpass2.c;h=3b2afb481795fd486cedc77b8dfcc56cf34c0da7;hb=refs%2Fheads%2Ffdpass2-pool;hp=ba1c678133fd9f1832b03e532fea2cc78403ae04;hpb=685911323aef10f6a01663d1b5a25cb60a63ca0d;p=mod-proxy-fdpass.git diff --git a/mod_proxy_fdpass2.c b/mod_proxy_fdpass2.c index ba1c678..3b2afb4 100644 --- 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); } +#endif 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 - time_t t_cur; + long long t_cur; int t_rnd; - t_cur = time(); + t_cur = (long long)time(NULL); t_rnd = rand(); #endif