Skip to content

Commit

Permalink
Correcting status check in network-api-test.c that was referencing th…
Browse files Browse the repository at this point in the history
…e incorrect status variable.
  • Loading branch information
dzbaker authored Jul 2, 2024
1 parent ec30aa7 commit 5cc0355
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/network-api-test/network-api-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ void Server_Fn(void)
if (ServerFn_AcceptStatus != OS_SUCCESS)
{
snprintf(ServerFn_ErrorString, sizeof(ServerFn_ErrorString), "OS_SocketAccept() iter=%u, return code=%d",
(unsigned int)iter, (int)Status);
(unsigned int)iter, (int)ServerFn_AcceptStatus);
break;
}

Expand Down

0 comments on commit 5cc0355

Please sign in to comment.