summaryrefslogtreecommitdiff
path: root/usr.bin/ftp
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-08-25 15:36:01 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-08-25 15:36:01 +0000
commit310dcd3d8b8823edab29ec7c12df709a35e7ffc5 (patch)
tree75cb58a9378d5faff496e5f676ff2db79188999f /usr.bin/ftp
parent154361a9a8d6ea0042f054a4cae0c713e7bdec96 (diff)
you broke the ramdisk builds...
Diffstat (limited to 'usr.bin/ftp')
-rw-r--r--usr.bin/ftp/fetch.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ftp/fetch.c b/usr.bin/ftp/fetch.c
index 60ae2a75491..d52045819e1 100644
--- a/usr.bin/ftp/fetch.c
+++ b/usr.bin/ftp/fetch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fetch.c,v 1.128 2014/08/25 11:33:55 jca Exp $ */
+/* $OpenBSD: fetch.c,v 1.129 2014/08/25 15:36:00 deraadt Exp $ */
/* $NetBSD: fetch.c,v 1.14 1997/08/18 10:20:20 lukem Exp $ */
/*-
@@ -343,10 +343,12 @@ noslash:
}
path = newline;
+#ifndef SMALL
} else if (ishttpsurl) {
sslhost = strdup(host);
if (sslhost == NULL)
errx(1, "Can't allocate memory for https path/host.");
+#endif /* !SMALL */
}
if (isfileurl) {