1
0

patch-scaffold_c 499 B

123456789101112131415161718
  1. --- tcp_wrappers_7.6.orig/scaffold.c 1997-03-21 19:27:24.000000000 +0100
  2. +++ tcp_wrappers_7.6/scaffold.c 2009-06-05 18:45:03.000000000 +0200
  3. @@ -180,10 +180,12 @@ struct request_info *request;
  4. /* ARGSUSED */
  5. -void rfc931(request)
  6. -struct request_info *request;
  7. +void rfc931(rmt_sin, our_sin, dest)
  8. +struct sockaddr_in *rmt_sin;
  9. +struct sockaddr_in *our_sin;
  10. +char *dest;
  11. {
  12. - strcpy(request->user, unknown);
  13. + strcpy(dest, unknown);
  14. }
  15. /* check_path - examine accessibility */