Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
nibanks committed Jul 22, 2024
1 parent d5ba5e0 commit 297ed0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/msh3test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ struct TestFunc {
#define VERIFY_SUCCESS(X) \
do { \
auto _status = X; \
if (MSH3_FAILED(X)) { \
if (MSH3_FAILED(_status)) { \
fprintf(stderr, #X " Failed with %u on %s:%d!\n", (uint32_t)_status, __FILE__, __LINE__); \
return false; \
} \
Expand Down Expand Up @@ -55,7 +55,7 @@ struct TestServer : public MsH3AutoAcceptListener {
bool WaitForConnection() noexcept {
VERIFY(NewConnection.WaitFor());
auto ServerConnection = NewConnection.Get();
ServerConnection->SetConfiguration(Config);
VERIFY_SUCCESS(ServerConnection->SetConfiguration(Config));
VERIFY(ServerConnection->Connected.WaitFor());
return true;
}
Expand Down

0 comments on commit 297ed0e

Please sign in to comment.