=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ftp/fetch.c,v retrieving revision 1.46 retrieving revision 1.47 diff -c -r1.46 -r1.47 *** src/usr.bin/ftp/fetch.c 2003/04/05 17:19:47 1.46 --- src/usr.bin/ftp/fetch.c 2003/08/15 23:13:06 1.47 *************** *** 1,4 **** ! /* $OpenBSD: fetch.c,v 1.46 2003/04/05 17:19:47 deraadt Exp $ */ /* $NetBSD: fetch.c,v 1.14 1997/08/18 10:20:20 lukem Exp $ */ /*- --- 1,4 ---- ! /* $OpenBSD: fetch.c,v 1.47 2003/08/15 23:13:06 deraadt Exp $ */ /* $NetBSD: fetch.c,v 1.14 1997/08/18 10:20:20 lukem Exp $ */ /*- *************** *** 38,44 **** */ #ifndef lint ! static char rcsid[] = "$OpenBSD: fetch.c,v 1.46 2003/04/05 17:19:47 deraadt Exp $"; #endif /* not lint */ /* --- 38,44 ---- */ #ifndef lint ! static char rcsid[] = "$OpenBSD: fetch.c,v 1.47 2003/08/15 23:13:06 deraadt Exp $"; #endif /* not lint */ /* *************** *** 233,239 **** progressmeter(-1); if ((buf = malloc(4096)) == NULL) ! errx(1, "Can't allocate memory for transfer buffer\n"); /* Finally, suck down the file. */ i = 0; --- 233,239 ---- progressmeter(-1); if ((buf = malloc(4096)) == NULL) ! errx(1, "Can't allocate memory for transfer buffer"); /* Finally, suck down the file. */ i = 0; *************** *** 497,503 **** /* Finally, suck down the file. */ if ((buf = malloc(4096)) == NULL) ! errx(1, "Can't allocate memory for transfer buffer\n"); i = 0; while ((len = fread(buf, sizeof(char), 4096, fin)) > 0) { bytes += len; --- 497,503 ---- /* Finally, suck down the file. */ if ((buf = malloc(4096)) == NULL) ! errx(1, "Can't allocate memory for transfer buffer"); i = 0; while ((len = fread(buf, sizeof(char), 4096, fin)) > 0) { bytes += len;