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 compile failure without WITH_SSL.



details:   https://anonhg.NetBSD.org/src/rev/67ef574fc657
branches:  trunk
changeset: 342305:67ef574fc657
user:      nonaka <nonaka%NetBSD.org@localhost>
date:      Wed Dec 16 01:20:05 2015 +0000

description:
Fix compile failure without WITH_SSL.

>    /tmp/bracket/build/2015.12.15.21.01.27-i386/src/usr.bin/ftp/fetch.c: In function 'fetch_url':
>    /tmp/bracket/build/2015.12.15.21.01.27-i386/src/usr.bin/ftp/fetch.c:823:18: error: 'HTTPS_URL_T' undeclared (first use in this function)
>           urltype == HTTPS_URL_T ? &ssl : NULL);

diffstat:

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

diffs (28 lines):

diff -r 6bfc446b3d45 -r 67ef574fc657 usr.bin/ftp/fetch.c
--- a/usr.bin/ftp/fetch.c       Tue Dec 15 23:15:53 2015 +0000
+++ b/usr.bin/ftp/fetch.c       Wed Dec 16 01:20:05 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fetch.c,v 1.212 2015/12/15 21:45:21 christos Exp $     */
+/*     $NetBSD: fetch.c,v 1.213 2015/12/16 01:20:05 nonaka Exp $       */
 
 /*-
  * Copyright (c) 1997-2015 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: fetch.c,v 1.212 2015/12/15 21:45:21 christos Exp $");
+__RCSID("$NetBSD: fetch.c,v 1.213 2015/12/16 01:20:05 nonaka Exp $");
 #endif /* not lint */
 
 /*
@@ -74,9 +74,7 @@
 typedef enum {
        UNKNOWN_URL_T=-1,
        HTTP_URL_T,
-#ifdef WITH_SSL
        HTTPS_URL_T,
-#endif
        FTP_URL_T,
        FILE_URL_T,
        CLASSIC_URL_T



Home | Main Index | Thread Index | Old Index