projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove a few fprintf stms for debug YAZ-795
[yaz-moved-to-github.git]
/
src
/
tcpip.c
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;
}