From e44d79edae83b420ac520604cc77d8489836d383 Mon Sep 17 00:00:00 2001 From: kevin Date: Thu, 12 Mar 2015 19:21:25 +0800 Subject: [PATCH] recover codes which deleted by mistake --- src/local.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/local.c b/src/local.c index f1d89eb4..e87631c2 100644 --- a/src/local.c +++ b/src/local.c @@ -465,6 +465,8 @@ static void server_recv_cb(EV_P_ ev_io *w, int revents) r -= (3 + addr_len - bitcoin_len); buf += (3 + addr_len - bitcoin_len); #endif + r -= (3 + addr_len); + buf += (3 + addr_len); server->stage = 5;