From: Adam Dickmeiss Date: Tue, 13 May 2003 14:21:13 +0000 (+0000) Subject: Use YAZ_SOCKLEN_T instead of socklen_t X-Git-Tag: YAZ.2.0.2.RH.2~28 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=125af6f8db172ec8fd4c24dfe6f6ebeca49afacb Use YAZ_SOCKLEN_T instead of socklen_t --- diff --git a/comstack/tcpip.c b/comstack/tcpip.c index 5f24ef3..05b10dd 100644 --- a/comstack/tcpip.c +++ b/comstack/tcpip.c @@ -2,7 +2,7 @@ * Copyright (c) 1995-2003, Index Data * See the file LICENSE for details. * - * $Id: tcpip.c,v 1.56 2003-03-11 11:05:19 adam Exp $ + * $Id: tcpip.c,v 1.57 2003-05-13 14:21:13 adam Exp $ */ #include @@ -303,7 +303,7 @@ int tcpip_connect(COMSTACK h, void *address) int r; #ifdef __sun__ int recbuflen; - socklen_t rbufsize = sizeof(recbuflen); + YAZ_SOCKLEN_T rbufsize = sizeof(recbuflen); #endif TRC(fprintf(stderr, "tcpip_connect\n")); h->io_pending = 0;