From: Adam Dickmeiss Date: Wed, 22 Oct 2014 17:14:18 +0000 (+0200) Subject: Remove a few fprintf stms for debug YAZ-795 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=80208a4a031b6927b4a88b038aab242699a22122;p=yaz-moved-to-github.git Remove a few fprintf stms for debug YAZ-795 --- diff --git a/src/tcpip.c b/src/tcpip.c index 21fa041..a14f66e 100644 --- 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; }