summaryrefslogtreecommitdiff
path: root/usr.bin/ftp/fetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/ftp/fetch.c')
-rw-r--r--usr.bin/ftp/fetch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ftp/fetch.c b/usr.bin/ftp/fetch.c
index 2517b967209..d43a8f00b50 100644
--- a/usr.bin/ftp/fetch.c
+++ b/usr.bin/ftp/fetch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fetch.c,v 1.91 2009/06/29 09:58:40 halex Exp $ */
+/* $OpenBSD: fetch.c,v 1.92 2009/07/18 12:43:30 jsg Exp $ */
/* $NetBSD: fetch.c,v 1.14 1997/08/18 10:20:20 lukem Exp $ */
/*-
@@ -1229,7 +1229,7 @@ ftp_printf(FILE *fp, SSL *ssl, const char *fmt, ...)
ret = SSL_vprintf((SSL*)ssl, fmt, ap);
#endif /* !SMALL */
else
- ret = NULL;
+ ret = 0;
va_end(ap);
return (ret);