Adjust to tcp pool changes

parent 43d00765
......@@ -57,7 +57,7 @@
#ifdef FIXME
#include "cache/cache_tcp_pool.h"
#else
int VTP_Open(struct tcp_pool *, vtim_dur tmo, const void **, int*);
int VCP_Open(struct conn_pool *, vtim_dur tmo, VCL_IP *, int*);
#endif
#include "vdir.h"
......@@ -98,8 +98,7 @@ wadj_poke(const struct wadj_prop *prop, char *buf,
*buf = '\0';
*len = 0;
s = VTP_Open(prop->be->tcp_pool, t_end - t_now,
(const void **)&sa, &err);
s = VCP_Open(prop->be->conn_pool, t_end - t_now, &sa, &err);
if (s < 0) {
POKE_ERR(prop, "Open error %d (%s)", err, strerror(err));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment