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:
8a0937d
)
Windows compile fix.
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 30 Aug 2006 12:47:23 +0000
(12:47 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 30 Aug 2006 12:47:23 +0000
(12:47 +0000)
src/tcpip.c
patch
|
blob
|
history
diff --git
a/src/tcpip.c
b/src/tcpip.c
index
5168c77
..
f232601
100644
(file)
--- a/
src/tcpip.c
+++ b/
src/tcpip.c
@@
-2,7
+2,7
@@
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: tcpip.c,v 1.20 2006-08-30 12:04:43 adam Exp $
+ * $Id: tcpip.c,v 1.21 2006-08-30 12:47:23 adam Exp $
*/
/**
* \file tcpip.c
@@
-248,7
+248,11
@@
int tcpip_strtoaddr_ex(const char *str, struct sockaddr_in *add,
#endif
char *p, buf[512];
short int port = default_port;
+#ifdef WIN32
+ unsigned long tmpadd;
+#else
in_addr_t tmpadd;
+#endif
if (!tcpip_init ())
return 0;