In nxlinkStdio(), return sock on success instead of ret.

This commit is contained in:
yellows8 2019-02-27 19:15:31 -05:00
parent 6dea82a668
commit 81ce04eb7b

View File

@ -37,5 +37,5 @@ int nxlinkStdio(void)
fflush(stderr); fflush(stderr);
dup2(sock, STDERR_FILENO); dup2(sock, STDERR_FILENO);
return ret; return sock;
} }