projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14ec764
)
Remove a few fprintf stms for debug YAZ-795
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 22 Oct 2014 17:14:18 +0000
(19:14 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 22 Oct 2014 17:14:18 +0000
(19:14 +0200)
src/tcpip.c
patch
|
blob
|
history
diff --git
a/src/tcpip.c
b/src/tcpip.c
index
21fa041
..
a14f66e
100644
(file)
--- a/
src/tcpip.c
+++ b/
src/tcpip.c
@@
-503,11
+503,7
@@
static struct addrinfo *create_net_socket(COMSTACK h)
}
if (r)
{
- int xerrno = errno;
- if (xerrno == EINVAL)
- fprintf(stderr, "bind returned EINVAL\n");
- fprintf(stderr, "bind failed errno=%d %s\n", xerrno,
- strerror(xerrno));
+ h->cerrno = CSYSERR;
freeaddrinfo(ai);
return 0;
}