summaryrefslogtreecommitdiff
path: root/usr.bin/ftp
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2009-07-18 12:43:31 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2009-07-18 12:43:31 +0000
commitb1b5bd05a80cd0836d0f95dc88d3422f9fa8992d (patch)
tree68d417303040aa91c9bf617cd4b400bcd51f320f /usr.bin/ftp
parentde3846087d2f21acdeb812943417c4bb5c56b6c5 (diff)
Don't assign NULL to an integer type, use 0 instead.
No binary change.
Diffstat (limited to 'usr.bin/ftp')
-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);