From ad99278e9b7c16d2ec3e55975d84636bbc8fba81 Mon Sep 17 00:00:00 2001 From: teodor Date: Wed, 29 Sep 2004 17:11:39 +0000 Subject: [PATCH] poll<=select --- tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcp.c b/tcp.c index 6833be2..26afeaf 100644 --- a/tcp.c +++ b/tcp.c @@ -105,7 +105,7 @@ TC_ClientInitConnection(TC_Connection *cs, char *name, u_int32_t port) { ntohs(cs->serv_addr.sin_port),strerror(errno)); if (setsockopt(cs->fd, SOL_SOCKET, SO_REUSEADDR, &val, sizeof(val)) < 0) { - tlog(TL_CRIT|TL_EXIT, "socketsockopt failed: %s", strerror(errno)); + tlog(TL_CRIT|TL_EXIT, "socketsockopt failed: %s (d%)", strerror(errno), errno); return CS_ERROR; } -- 2.46.1