Adjust to tcp pool changes

parent 43d00765
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
#ifdef FIXME #ifdef FIXME
#include "cache/cache_tcp_pool.h" #include "cache/cache_tcp_pool.h"
#else #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 #endif
#include "vdir.h" #include "vdir.h"
...@@ -98,8 +98,7 @@ wadj_poke(const struct wadj_prop *prop, char *buf, ...@@ -98,8 +98,7 @@ wadj_poke(const struct wadj_prop *prop, char *buf,
*buf = '\0'; *buf = '\0';
*len = 0; *len = 0;
s = VTP_Open(prop->be->tcp_pool, t_end - t_now, s = VCP_Open(prop->be->conn_pool, t_end - t_now, &sa, &err);
(const void **)&sa, &err);
if (s < 0) { if (s < 0) {
POKE_ERR(prop, "Open error %d (%s)", err, strerror(err)); 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