Skip to content
Permalink
Browse files

Resolves inverted check condition in Linux platform for TCPConnection…

… handling
  • Loading branch information...
brandonlehmann committed Aug 13, 2019
1 parent 18871a3 commit 27f042db7ce638be63f50473b843bb674ae8ee15
Showing with 3 additions and 3 deletions.
  1. +1 −1 src/config/version.h.in
  2. +2 −2 src/platform/linux/system/TcpConnection.cpp
@@ -7,7 +7,7 @@
#define APP_VER_MAJOR 0
#define APP_VER_MINOR 18
#define APP_VER_REV 0
#define APP_VER_BUILD 1289
#define APP_VER_BUILD 1290

#define BUILD_COMMIT_ID "@VERSION@"
#define PROJECT_VERSION STR(APP_VER_MAJOR) "." STR(APP_VER_MINOR) "." STR(APP_VER_REV)
@@ -93,7 +93,7 @@ namespace System
knownError = true;
}

if (knownError)
if (!knownError)
{
message = "recv failed, " + lastErrorMessage();
}
@@ -224,7 +224,7 @@ namespace System
knownError = true;
}

if (knownError)
if (!knownError)
{
message = "send failed, " + lastErrorMessage();
}

0 comments on commit 27f042d

Please sign in to comment.
You can’t perform that action at this time.