From: Adam Dickmeiss Date: Wed, 6 Sep 2006 16:03:52 +0000 (+0000) Subject: Fix compilation for non- getaddrinfo case X-Git-Tag: YAZ.2.1.30~13 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=e61e837408b141d4a56eaea0abea76ceebd19b7e;p=yaz-moved-to-github.git Fix compilation for non- getaddrinfo case --- diff --git a/src/tcpip.c b/src/tcpip.c index af2d813..6c674d4 100644 --- a/src/tcpip.c +++ b/src/tcpip.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2006, Index Data ApS * See the file LICENSE for details. * - * $Id: tcpip.c,v 1.28 2006-09-06 15:01:53 adam Exp $ + * $Id: tcpip.c,v 1.29 2006-09-06 16:03:52 adam Exp $ */ /** * \file tcpip.c @@ -354,7 +354,7 @@ void *tcpip_straddr(COMSTACK h, const char *str) return 0; h->iofile = s; - if (!tcpip_set_blocking(h, h->blocking)) + if (!tcpip_set_blocking(h, h->flags)) return 0; } return &sp->addr;