From 63998de4fc43e789f01e66639f0a25bd046864bf Mon Sep 17 00:00:00 2001 From: Kiritow <1362050620@qq.com> Date: Wed, 12 Sep 2018 02:22:15 +0800 Subject: [PATCH] Fix bugs in NBSendResult and NBRecvResult --- gsock.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gsock.cpp b/gsock.cpp index 50b3591..8f899a5 100644 --- a/gsock.cpp +++ b/gsock.cpp @@ -503,7 +503,7 @@ void NBSendResult::_impl::update() { if (stopAtEdge) { - status = 2; + status = 3; } else { @@ -607,7 +607,7 @@ void NBRecvResult::_impl::update() { if (stopAtEdge) { - status = 2; + status = 3; } else {