projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c730b0
)
Change type of optval from long to int for invocation of setsockopt with
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 21 Sep 2006 15:55:25 +0000
(15:55 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 21 Sep 2006 15:55:25 +0000
(15:55 +0000)
the SO_REUSEADDR option.
src/tcpip.c
patch
|
blob
|
history
diff --git
a/src/tcpip.c
b/src/tcpip.c
index
45b2ad1
..
a16fe5e
100644
(file)
--- 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.30 2006-09-15 09:06:28 adam Exp $
+ * $Id: tcpip.c,v 1.31 2006-09-21 15:55:25 adam Exp $
*/
/**
* \file tcpip.c
@@
-565,7
+565,7
@@
static int tcpip_bind(COMSTACK h, void *address, int mode)
#ifdef WIN32
BOOL one = 1;
#else
- unsigned long one = 1;
+ int one = 1;
#endif
#if HAVE_GETADDRINFO