=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ftp/cmds.c,v retrieving revision 1.65 retrieving revision 1.66 diff -u -r1.65 -r1.66 --- src/usr.bin/ftp/cmds.c 2008/09/08 19:31:16 1.65 +++ src/usr.bin/ftp/cmds.c 2008/09/18 14:45:36 1.66 @@ -1,4 +1,4 @@ -/* $OpenBSD: cmds.c,v 1.65 2008/09/08 19:31:16 martynas Exp $ */ +/* $OpenBSD: cmds.c,v 1.66 2008/09/18 14:45:36 todd Exp $ */ /* $NetBSD: cmds.c,v 1.27 1997/08/18 10:20:15 lukem Exp $ */ /* @@ -60,7 +60,7 @@ */ #if !defined(lint) && !defined(SMALL) -static const char rcsid[] = "$OpenBSD: cmds.c,v 1.65 2008/09/08 19:31:16 martynas Exp $"; +static const char rcsid[] = "$OpenBSD: cmds.c,v 1.66 2008/09/18 14:45:36 todd Exp $"; #endif /* not lint and not SMALL */ /* @@ -654,6 +654,7 @@ static int restartit = 0; #ifndef SMALL extern char *optarg; + const char *errstr; int i = 1; char type = NULL, *dummyargv[] = {argv[0], ".", NULL}; FILE *ftemp = NULL; @@ -663,7 +664,6 @@ optind = optreset = 1; #ifndef SMALL - const char *errstr; if (depth) depth++;