vs2010 fix build

This commit is contained in:
Jeff Lenk 2010-12-16 14:24:54 -06:00
parent dcce6bb510
commit 7b1de56baa
1 changed files with 2 additions and 2 deletions

View File

@ -947,9 +947,9 @@ ESL_DECLARE(esl_status_t) esl_recv_event(esl_handle_t *handle, int check_q, esl_
while(!revent && handle->connected) {
esl_size_t len;
esl_size_t len1;
if ((len = esl_buffer_read_packet(handle->packet_buf, handle->socket_buf, sizeof(handle->socket_buf)))) {
if ((len1 = esl_buffer_read_packet(handle->packet_buf, handle->socket_buf, sizeof(handle->socket_buf)))) {
char *data = (char *) handle->socket_buf;
char *p, *e;