diff options
Diffstat (limited to 'buffer.c')
-rw-r--r-- | buffer.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1996,20 +1996,19 @@ get_n_bytes_readable_on_socket(evutil_socket_t fd) int evbuffer_read(struct evbuffer *buf, evutil_socket_t fd, int howmuch) { - struct evbuffer_chain *chain, **chainp; + struct evbuffer_chain **chainp; int n; int result; #ifdef USE_IOVEC_IMPL int nvecs, i, remaining; #else + struct evbuffer_chain *chain; unsigned char *p; #endif EVBUFFER_LOCK(buf); - chain = buf->last; - if (buf->freeze_end) { result = -1; goto done; |