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:
48096bb
)
Added type cast to prevent warning.
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 23 Jun 1998 15:37:50 +0000
(15:37 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 23 Jun 1998 15:37:50 +0000
(15:37 +0000)
comstack/tcpip.c
patch
|
blob
|
history
diff --git
a/comstack/tcpip.c
b/comstack/tcpip.c
index
40e3d61
..
36cc696
100644
(file)
--- a/
comstack/tcpip.c
+++ b/
comstack/tcpip.c
@@
-4,7
+4,10
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: tcpip.c,v $
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: tcpip.c,v $
- * Revision 1.22 1998-06-22 11:32:36 adam
+ * Revision 1.23 1998-06-23 15:37:50 adam
+ * Added type cast to prevent warning.
+ *
+ * Revision 1.22 1998/06/22 11:32:36 adam
* Added 'conditional cs_listen' feature.
*
* Revision 1.21 1998/05/20 09:55:32 adam
* Added 'conditional cs_listen' feature.
*
* Revision 1.21 1998/05/20 09:55:32 adam
@@
-462,8
+465,8
@@
int tcpip_listen(COMSTACK h, char *raddr, int *addrlen,
*addrlen = 0;
#if 1
*addrlen = 0;
#if 1
- if (check_ip && (*check_ip)(cd, &addr.sin_addr, sizeof(addr.sin_addr),
- AF_INET))
+ if (check_ip && (*check_ip)(cd, (const char *) &addr.sin_addr,
+ sizeof(addr.sin_addr), AF_INET))
{
h->cerrno = CSDENY;
close (h->newfd);
{
h->cerrno = CSDENY;
close (h->newfd);