Fix a few compiler errors/warnings.

This commit is contained in:
Guus Sliepen 2012-10-14 19:21:13 +02:00
parent 70a1a5594a
commit 3254e75afe
2 changed files with 3 additions and 7 deletions

View file

@ -63,7 +63,7 @@ static void configure_tcp(connection_t *c) {
unsigned long arg = 1;
if(ioctlsocket(c->socket, FIONBIO, &arg) != 0) {
logger(DEBUG_ALWAYS, LOG_ERR, "ioctlsocket for %s: %d", c->hostname, sockstrerror(sockerrno));
logger(DEBUG_ALWAYS, LOG_ERR, "ioctlsocket for %s: %s", c->hostname, sockstrerror(sockerrno));
}
#endif