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
Use YAZ_SOCKLEN_T instead of socklen_t
[yaz-moved-to-github.git]
/
comstack
/
tcpip.c
diff --git
a/comstack/tcpip.c
b/comstack/tcpip.c
index
5f24ef3
..
05b10dd
100644
(file)
--- a/
comstack/tcpip.c
+++ b/
comstack/tcpip.c
@@
-2,7
+2,7
@@
* Copyright (c) 1995-2003, Index Data
* See the file LICENSE for details.
*
* 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 <stdio.h>
*/
#include <stdio.h>
@@
-303,7
+303,7
@@
int tcpip_connect(COMSTACK h, void *address)
int r;
#ifdef __sun__
int recbuflen;
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;
#endif
TRC(fprintf(stderr, "tcpip_connect\n"));
h->io_pending = 0;