diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-10-01 14:58:50 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-10-01 14:58:50 +0000 |
commit | 4758099a0ffe9540d4e992bb78e6e0372bc362b5 (patch) | |
tree | 3fda2c45a98aaf7056b66d751a7d1db174ef8d99 /usr.bin/ftp | |
parent | a1b691669c2df8b85118035a2c870990dfb04656 (diff) |
Typo, assign the new restart point to nrestart_point, not restart_point.
Fixes an uninitialized use of nrestart_point.
Diffstat (limited to 'usr.bin/ftp')
-rw-r--r-- | usr.bin/ftp/cmds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ftp/cmds.c b/usr.bin/ftp/cmds.c index 783f76723ad..c56c0fb6994 100644 --- a/usr.bin/ftp/cmds.c +++ b/usr.bin/ftp/cmds.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmds.c,v 1.37 2001/07/12 05:17:07 deraadt Exp $ */ +/* $OpenBSD: cmds.c,v 1.38 2001/10/01 14:58:49 millert Exp $ */ /* $NetBSD: cmds.c,v 1.27 1997/08/18 10:20:15 lukem Exp $ */ /* @@ -67,7 +67,7 @@ #if 0 static char sccsid[] = "@(#)cmds.c 8.6 (Berkeley) 10/9/94"; #else -static char rcsid[] = "$OpenBSD: cmds.c,v 1.37 2001/07/12 05:17:07 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: cmds.c,v 1.38 2001/10/01 14:58:49 millert Exp $"; #endif #endif /* not lint */ @@ -2060,7 +2060,7 @@ restart(argc, argv) if (argc != 2) fputs("restart: offset not specified.\n", ttyout); else { - restart_point = strtoq(argv[1], &ep, 10); + nrestart_point = strtoq(argv[1], &ep, 10); if (nrestart_point == QUAD_MAX || *ep != '\0') fputs("restart: invalid offset.\n", ttyout); else { |