=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ftp/util.c,v retrieving revision 1.14 retrieving revision 1.15 diff -c -r1.14 -r1.15 *** src/usr.bin/ftp/util.c 1997/09/11 01:55:16 1.14 --- src/usr.bin/ftp/util.c 1997/09/15 04:57:54 1.15 *************** *** 1,4 **** ! /* $OpenBSD: util.c,v 1.14 1997/09/11 01:55:16 millert Exp $ */ /* $NetBSD: util.c,v 1.12 1997/08/18 10:20:27 lukem Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: util.c,v 1.15 1997/09/15 04:57:54 millert Exp $ */ /* $NetBSD: util.c,v 1.12 1997/08/18 10:20:27 lukem Exp $ */ /* *************** *** 35,41 **** */ #ifndef lint ! static char rcsid[] = "$OpenBSD: util.c,v 1.14 1997/09/11 01:55:16 millert Exp $"; #endif /* not lint */ /* --- 35,41 ---- */ #ifndef lint ! static char rcsid[] = "$OpenBSD: util.c,v 1.15 1997/09/15 04:57:54 millert Exp $"; #endif /* not lint */ /* *************** *** 547,554 **** --- 547,556 ---- { int overbose; time_t rtime; + int ocode; overbose = verbose; + ocode = code; rtime = -1; if (debug == 0) verbose = -1; *************** *** 575,580 **** --- 577,584 ---- fputc('\n', ttyout); } verbose = overbose; + if (rtime == -1) + code = ocode; return (rtime); }