include strerror output in logging when socket read fails

This commit is contained in:
ehouse 2009-03-08 19:56:01 +00:00
parent 7a4a9b0e71
commit 85811b7951

View file

@ -1691,7 +1691,7 @@ newConnectionInput( GIOChannel *source,
board_draw( globals->cGlobals.game.board );
}
} else {
XP_LOGF( "errno from read: %d", errno );
XP_LOGF( "errno from read: %d/%s", errno, strerror(errno) );
}
keepSource = TRUE;
}