From 667f41edad2f228bc20eadaf6390580e94a9fe21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=91=E9=A3=8E?= Date: Tue, 7 Aug 2012 17:28:28 +0800 Subject: [PATCH] bugfix: client send --- service_client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/service_client.c b/service_client.c index cada035b..c3d0f9a6 100644 --- a/service_client.c +++ b/service_client.c @@ -29,8 +29,9 @@ _cb(struct skynet_context * context, void * ud, int session, const char * addr, case EINTR: continue; } - return; } + assert(err == sz +2); + return; } }