cannot print sockets with %d in Windows, they are not small ints but maybe pointers.
This commit is contained in:
committed by
Martin Konrad
co-authored by
Martin Konrad
parent
765af2efea
commit
9c18ce007a
@@ -402,8 +402,8 @@ static void logClientConnect (logClient *pClient)
|
||||
char sockErrBuf[128];
|
||||
epicsSocketConvertErrnoToString (
|
||||
sockErrBuf, sizeof ( sockErrBuf ) );
|
||||
fprintf (stderr, "%s:%d shutdown(%d,SHUT_RD) error was \"%s\"\n",
|
||||
__FILE__, __LINE__, pClient->sock, sockErrBuf);
|
||||
fprintf (stderr, "%s:%d shutdown(sock,SHUT_RD) error was \"%s\"\n",
|
||||
__FILE__, __LINE__, sockErrBuf);
|
||||
/* not fatal (although it shouldn't happen) */
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user