include strerror output in logging when socket read fails

This commit is contained in:
ehouse 2009-03-08 19:56:01 +00:00
parent d7eaa8e574
commit de4c57e740

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;
}