struct evbuffer_overlapped *buf = buf_o->buf;
struct evbuffer *evbuf = &buf->buffer;
- struct evbuffer_chain *chain = buf_o->first_pinned;
struct evbuffer_iovec iov[2];
int n_vec;
struct evbuffer_chain *chain=NULL;
DWORD bytesRead;
DWORD flags = 0;
- struct evbuffer_iovec vecs[MAX_VECS];
+ struct evbuffer_iovec vecs[MAX_WSABUFS];
if (!buf_o)
return -1;
#ifdef WIN32
/* Make this nonfatal on win32, where sometimes people
have localhost firewalled. */
- event_sock_warn(1, -1, "%s: socketpair", __func__);
+ event_sock_warn(-1, "%s: socketpair", __func__);
#else
event_sock_err(1, -1, "%s: socketpair", __func__);
#endif