Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/ftp recognize 307 redirect code.



details:   https://anonhg.NetBSD.org/src/rev/7ee1cccffdfc
branches:  trunk
changeset: 586787:7ee1cccffdfc
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jan 02 12:30:01 2006 +0000

description:
recognize 307 redirect code.

diffstat:

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

diffs (26 lines):

diff -r 221db8d61911 -r 7ee1cccffdfc usr.bin/ftp/fetch.c
--- a/usr.bin/ftp/fetch.c       Mon Jan 02 05:46:25 2006 +0000
+++ b/usr.bin/ftp/fetch.c       Mon Jan 02 12:30:01 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fetch.c,v 1.164 2005/08/21 16:16:33 lukem Exp $        */
+/*     $NetBSD: fetch.c,v 1.165 2006/01/02 12:30:01 christos Exp $     */
 
 /*-
  * Copyright (c) 1997-2005 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: fetch.c,v 1.164 2005/08/21 16:16:33 lukem Exp $");
+__RCSID("$NetBSD: fetch.c,v 1.165 2006/01/02 12:30:01 christos Exp $");
 #endif /* not lint */
 
 /*
@@ -995,6 +995,7 @@
                case 302:
                case 303:
                case 305:
+               case 307:
                        if (EMPTYSTRING(location)) {
                                warnx(
                                "No redirection Location provided by server");



Home | Main Index | Thread Index | Old Index