summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2014-08-25 15:36:00 +0000
committerderaadt <deraadt@openbsd.org>2014-08-25 15:36:00 +0000
commit2ffcfdb3c2171543a2922ee3f659e9d4a44ef080 (patch)
tree5f875c805f58e3ea03fa14f19fb5bf64a1931ef0
parentadd an example vmx config line (diff)
downloadwireguard-openbsd-2ffcfdb3c2171543a2922ee3f659e9d4a44ef080.tar.xz
wireguard-openbsd-2ffcfdb3c2171543a2922ee3f659e9d4a44ef080.zip
you broke the ramdisk builds...
-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) {