summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2006-09-25 18:59:59 +0000
committerderaadt <deraadt@openbsd.org>2006-09-25 18:59:59 +0000
commitfd3a61d317cb7379f7da16db7b5b46b48c293a24 (patch)
tree51c4e853a633804ea6e1aa9f771ba3810a7a97da
parentUse S_IS* macros insted of masking with S_IF* flags. The latter may (diff)
downloadwireguard-openbsd-fd3a61d317cb7379f7da16db7b5b46b48c293a24.tar.xz
wireguard-openbsd-fd3a61d317cb7379f7da16db7b5b46b48c293a24.zip
You forgot about -DSMALL and broke all the install media
-rw-r--r--usr.bin/ftp/fetch.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/ftp/fetch.c b/usr.bin/ftp/fetch.c
index bcbb929ec59..2815d0456f2 100644
--- a/usr.bin/ftp/fetch.c
+++ b/usr.bin/ftp/fetch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fetch.c,v 1.69 2006/09/25 10:18:39 jsg Exp $ */
+/* $OpenBSD: fetch.c,v 1.70 2006/09/25 18:59:59 deraadt Exp $ */
/* $NetBSD: fetch.c,v 1.14 1997/08/18 10:20:20 lukem Exp $ */
/*-
@@ -38,7 +38,7 @@
*/
#if !defined(lint) && !defined(SMALL)
-static const char rcsid[] = "$OpenBSD: fetch.c,v 1.69 2006/09/25 10:18:39 jsg Exp $";
+static const char rcsid[] = "$OpenBSD: fetch.c,v 1.70 2006/09/25 18:59:59 deraadt Exp $";
#endif /* not lint and not SMALL */
/*
@@ -132,10 +132,11 @@ url_get(const char *origline, const char *proxyenv, const char *outfile)
size_t len, wlen;
#ifndef SMALL
char *sslpath = NULL, *sslhost = NULL;
- int ishttpsurl = 0, status;
+ int ishttpsurl = 0;
SSL_CTX *ssl_ctx = NULL;
#endif
SSL *ssl = NULL;
+ int status;
newline = strdup(origline);
if (newline == NULL)