Skip to content

Commit

Permalink
Merge pull request #523 from CDKnightNASA/fix-522-socketopen_stub
Browse files Browse the repository at this point in the history
Fix #522 - SocketOpen stub should set sock_id
  • Loading branch information
astrogeco authored Jul 1, 2020
2 parents 83a3c42 + 67c1890 commit 57701da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ut-stubs/osapi-utstub-sockets.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ int32 OS_SocketOpen(uint32 *sock_id, OS_SocketDomain_t Domain, OS_SocketType_t T

if (status == OS_SUCCESS)
{
status = UT_AllocStubObjId(UT_OBJTYPE_SOCKET);
*sock_id = UT_AllocStubObjId(UT_OBJTYPE_SOCKET);
}

return status;
Expand Down

0 comments on commit 57701da

Please sign in to comment.