projects
/
tedtools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1d1db6
)
poll<=select
author
teodor
<teodor>
Wed, 29 Sep 2004 17:11:39 +0000
(17:11 +0000)
committer
teodor
<teodor>
Wed, 29 Sep 2004 17:11:39 +0000
(17:11 +0000)
tcp.c
patch
|
blob
|
history
diff --git
a/tcp.c
b/tcp.c
index
6833be2
..
26afeaf
100644
(file)
--- 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;
}