123456789101112131415161718192021222324252627 |
- --- tcp_wrappers_7.6.orig/scaffold.c 1997-03-21 19:27:24.000000000 +0100
- +++ tcp_wrappers_7.6/scaffold.c 2010-11-11 20:08:39.264995798 +0100
- @@ -25,7 +25,7 @@ static char sccs_id[] = "@(#) scaffold.c
- #define INADDR_NONE (-1) /* XXX should be 0xffffffff */
- #endif
-
- -extern char *malloc();
- +//extern char *malloc();
-
- /* Application-specific. */
-
- @@ -180,10 +180,12 @@ struct request_info *request;
-
- /* ARGSUSED */
-
- -void rfc931(request)
- -struct request_info *request;
- +void rfc931(rmt_sin, our_sin, dest)
- +struct sockaddr_in *rmt_sin;
- +struct sockaddr_in *our_sin;
- +char *dest;
- {
- - strcpy(request->user, unknown);
- + strcpy(dest, unknown);
- }
-
- /* check_path - examine accessibility */
|