From 80208a4a031b6927b4a88b038aab242699a22122 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 22 Oct 2014 19:14:18 +0200 Subject: [PATCH] Remove a few fprintf stms for debug YAZ-795 --- src/tcpip.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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; } -- 1.7.10.4