1234567891011121314151617181920212223242526 |
- --- tcp_wrappers_7.6.orig/socket.c 1997-03-21 19:27:25.000000000 +0100
- +++ tcp_wrappers_7.6/socket.c 2009-06-05 18:45:03.000000000 +0200
- @@ -76,7 +76,11 @@ struct request_info *request;
- {
- static struct sockaddr_in client;
- static struct sockaddr_in server;
- +#if !defined (__GLIBC__)
- int len;
- +#else /* __GLIBC__ */
- + size_t len;
- +#endif /* __GLIBC__ */
- char buf[BUFSIZ];
- int fd = request->fd;
-
- @@ -224,7 +228,11 @@ int fd;
- {
- char buf[BUFSIZ];
- struct sockaddr_in sin;
- +#if !defined(__GLIBC__)
- int size = sizeof(sin);
- +#else /* __GLIBC__ */
- + size_t size = sizeof(sin);
- +#endif /* __GLIBC__ */
-
- /*
- * Eat up the not-yet received datagram. Some systems insist on a
|