Module Name: src
Committed By: nonaka
Date: Wed Dec 16 01:20:06 UTC 2015
Modified Files:
src/usr.bin/ftp: fetch.c
Log Message:
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);
To generate a diff of this commit:
cvs rdiff -u -r1.212 -r1.213 src/usr.bin/ftp/fetch.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/ftp/fetch.c
diff -u src/usr.bin/ftp/fetch.c:1.212 src/usr.bin/ftp/fetch.c:1.213
--- src/usr.bin/ftp/fetch.c:1.212 Tue Dec 15 21:45:21 2015
+++ src/usr.bin/ftp/fetch.c Wed Dec 16 01:20:05 2015
@@ -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 @@ __RCSID("$NetBSD: fetch.c,v 1.212 2015/1
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