patch-workarounds_c 441 B

1234567891011121314
  1. --- tcp_wrappers_7.6.orig/workarounds.c 1996-03-19 16:22:26.000000000 +0100
  2. +++ tcp_wrappers_7.6/workarounds.c 2009-06-05 18:45:03.000000000 +0200
  3. @@ -163,7 +163,11 @@ int *fromlen;
  4. int fix_getpeername(sock, sa, len)
  5. int sock;
  6. struct sockaddr *sa;
  7. +#if !defined(__GLIBC__)
  8. int *len;
  9. +#else /* __GLIBC__ */
  10. +size_t *len;
  11. +#endif /* __GLIBC__ */
  12. {
  13. int ret;
  14. struct sockaddr_in *sin = (struct sockaddr_in *) sa;