Skip to content
This repository has been archived by the owner on Apr 16, 2023. It is now read-only.

Commit

Permalink
Resolves inverted check condition in Linux platform for TCPConnection…
Browse files Browse the repository at this point in the history
… handling
  • Loading branch information
brandonlehmann committed Aug 13, 2019
1 parent 18871a3 commit 27f042d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/config/version.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions src/platform/linux/system/TcpConnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ namespace System
knownError = true;
}

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

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

0 comments on commit 27f042d

Please sign in to comment.