Commit 42afa1ce authored by hyperxor's avatar hyperxor

man for send says: ...on error, -1 is returned...

parent 1eed0c75
......@@ -15,7 +15,7 @@ namespace Pistache
do \
{ \
auto ret = __VA_ARGS__; \
if (ret < 0) \
if (ret == -1) \
{ \
lastError_ = strerror(errno); \
lastErrno_ = errno; \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment