diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-08-12 08:29:46 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-08-12 08:29:46 +0000 |
commit | 6f3f95adc81564c13ad91c029a0951070c0a14eb (patch) | |
tree | da0ed349fee8c42dfbf25c9d4eaa93f75227b30f /libexec/tftpd/tftpd.c | |
parent | f6b99ffa933bc67a2605243ebc3d19ca18f5b02d (diff) |
whoops
Diffstat (limited to 'libexec/tftpd/tftpd.c')
-rw-r--r-- | libexec/tftpd/tftpd.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libexec/tftpd/tftpd.c b/libexec/tftpd/tftpd.c index a9748d4cc57..3e199bcbe65 100644 --- a/libexec/tftpd/tftpd.c +++ b/libexec/tftpd/tftpd.c @@ -39,7 +39,7 @@ char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)tftpd.c 5.13 (Berkeley) 2/26/91";*/ -static char rcsid[] = "$Id: tftpd.c,v 1.2 1996/08/11 23:22:00 deraadt Exp $"; +static char rcsid[] = "$Id: tftpd.c,v 1.3 1996/08/12 08:29:45 deraadt Exp $"; #endif /* not lint */ /* @@ -66,6 +66,7 @@ static char rcsid[] = "$Id: tftpd.c,v 1.2 1996/08/11 23:22:00 deraadt Exp $"; #include <ctype.h> #include <string.h> #include <stdlib.h> +#include <pwd.h> #define TIMEOUT 5 @@ -94,12 +95,13 @@ usage() exit(1); } +int main(argc, argv) int argc; char **argv; { register struct tftphdr *tp; - struct pwent *pw; + struct passwd *pw; register int n = 0; int on = 1; int fd = 0; |