diff options
| author | David Greenman <dg@FreeBSD.org> | 1998-10-30 16:17:50 +0000 |
|---|---|---|
| committer | David Greenman <dg@FreeBSD.org> | 1998-10-30 16:17:50 +0000 |
| commit | 8692ad469b921c8293b8a41d8a885ce78d7b1953 (patch) | |
| tree | 611a4d4940698bc710e5093b5c57502c774f72db /usr.bin | |
| parent | 2a78b8d1f837e3582219fb85ea85992080987e6f (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/tftp/extern.h | 2 | ||||
| -rw-r--r-- | usr.bin/tftp/main.c | 6 | ||||
| -rw-r--r-- | usr.bin/tftp/tftp.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/tftp/extern.h b/usr.bin/tftp/extern.h index 9174cb135c77..d64cf29be6f3 100644 --- a/usr.bin/tftp/extern.h +++ b/usr.bin/tftp/extern.h @@ -34,4 +34,4 @@ */ void recvfile __P((int, char *, char *)); -void sendfile __P((int, char *, char *)); +void xmitfile __P((int, char *, char *)); diff --git a/usr.bin/tftp/main.c b/usr.bin/tftp/main.c index d767463ba3a5..3c6a15116d47 100644 --- a/usr.bin/tftp/main.c +++ b/usr.bin/tftp/main.c @@ -42,7 +42,7 @@ static const char copyright[] = static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93"; #endif static const char rcsid[] = - "$Id: main.c,v 1.5 1997/08/14 06:47:39 charnier Exp $"; + "$Id: main.c,v 1.6 1998/06/09 04:31:02 imp Exp $"; #endif /* not lint */ /* Many bug fixes are from Jim Guyton <guyton@rand-unix> */ @@ -373,7 +373,7 @@ put(argc, argv) printf("putting %s to %s:%s [%s]\n", cp, hostname, targ, mode); peeraddr.sin_port = port; - sendfile(fd, targ, mode); + xmitfile(fd, targ, mode); return; } /* this assumes the target is a directory */ @@ -391,7 +391,7 @@ put(argc, argv) printf("putting %s to %s:%s [%s]\n", argv[n], hostname, targ, mode); peeraddr.sin_port = port; - sendfile(fd, targ, mode); + xmitfile(fd, targ, mode); } } diff --git a/usr.bin/tftp/tftp.c b/usr.bin/tftp/tftp.c index cd3ecd35a003..ae517a486329 100644 --- a/usr.bin/tftp/tftp.c +++ b/usr.bin/tftp/tftp.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)tftp.c 8.1 (Berkeley) 6/6/93"; #endif static const char rcsid[] = - "$Id: tftp.c,v 1.2 1997/08/14 06:47:40 charnier Exp $"; + "$Id: tftp.c,v 1.3 1998/02/20 04:30:34 jb Exp $"; #endif /* not lint */ /* Many bug fixes are from Jim Guyton <guyton@rand-unix> */ @@ -88,7 +88,7 @@ static void tpacket __P((const char *, struct tftphdr *, int)); * Send the requested file. */ void -sendfile(fd, name, mode) +xmitfile(fd, name, mode) int fd; char *name; char *mode; |
