Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/ftp fix restart from anon ymous



details:   https://anonhg.NetBSD.org/src/rev/da3c8b84617e
branches:  trunk
changeset: 785102:da3c8b84617e
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Feb 23 13:47:36 2013 +0000

description:
fix restart from anon ymous

diffstat:

 usr.bin/ftp/fetch.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e9a70cefd418 -r da3c8b84617e usr.bin/ftp/fetch.c
--- a/usr.bin/ftp/fetch.c       Sat Feb 23 12:34:03 2013 +0000
+++ b/usr.bin/ftp/fetch.c       Sat Feb 23 13:47:36 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fetch.c,v 1.201 2012/12/22 16:58:51 christos Exp $     */
+/*     $NetBSD: fetch.c,v 1.202 2013/02/23 13:47:36 christos Exp $     */
 
 /*-
  * Copyright (c) 1997-2009 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: fetch.c,v 1.201 2012/12/22 16:58:51 christos Exp $");
+__RCSID("$NetBSD: fetch.c,v 1.202 2013/02/23 13:47:36 christos Exp $");
 #endif /* not lint */
 
 /*
@@ -844,7 +844,7 @@
                        fetch_printf(fin, "Connection: close\r\n");
                        if (restart_point) {
                                fputs(leading, ttyout);
-                               fprintf(ttyout, "Range: bytes=" LLF "-\r\n",
+                               fetch_printf(fin, "Range: bytes=" LLF "-\r\n",
                                    (LLT)restart_point);
                                fprintf(ttyout, "restarting at " LLF,
                                    (LLT)restart_point);



Home | Main Index | Thread Index | Old Index