From 7bb570217b3b7af4054085fd603bccd0d56ce168 Mon Sep 17 00:00:00 2001 From: Max Lv Date: Sun, 11 May 2014 21:09:52 +0800 Subject: [PATCH] refine log --- src/local.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/local.c b/src/local.c index b33f6867..0abe9a77 100644 --- a/src/local.c +++ b/src/local.c @@ -555,7 +555,7 @@ static void remote_recv_cb (EV_P_ ev_io *w, int revents) } else { - ERROR("remote recv"); + ERROR("remote_recv_cb_recv"); close_and_free_remote(EV_A_ remote); close_and_free_server(EV_A_ server); return; @@ -648,7 +648,7 @@ static void remote_send_cb (EV_P_ ev_io *w, int revents) { if (errno != EAGAIN && errno != EWOULDBLOCK) { - ERROR("send"); + ERROR("remote_send_cb_send"); // close and free close_and_free_remote(EV_A_ remote); close_and_free_server(EV_A_ server);