summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2011-04-06 11:35:34 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2011-04-06 11:35:34 +0000
commitecdee9dbaa69f9aa6f959777e5e515c31bb6a0f8 (patch)
treecf1a56d8f171f0e1aa00e0c2cb657a454281e7f0 /usr.sbin
parentcf8e222d412ad2cd73b9fbb00938cbcf8698eedd (diff)
Local variables storing integer values and printed with %d should be
declared as integer types, not pointers, really.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/httpd/src/modules/proxy/proxy_ftp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/httpd/src/modules/proxy/proxy_ftp.c b/usr.sbin/httpd/src/modules/proxy/proxy_ftp.c
index 195e36f5bd7..f9910b226c5 100644
--- a/usr.sbin/httpd/src/modules/proxy/proxy_ftp.c
+++ b/usr.sbin/httpd/src/modules/proxy/proxy_ftp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: proxy_ftp.c,v 1.17 2009/12/14 19:35:38 deraadt Exp $ */
+/* $OpenBSD: proxy_ftp.c,v 1.18 2011/04/06 11:35:33 miod Exp $ */
/* ====================================================================
* The Apache Software License, Version 1.1
@@ -588,7 +588,8 @@ int ap_proxy_ftp_handler(request_rec *r, cache_req *c, char *url)
struct sockaddr_in *sin;
int pasvmode = 0;
char pasv[64];
- char *pstr, *host, *port;
+ char *pstr, *host;
+ int port;
/* stuff for LPSV/EPSV */
unsigned int paf, holen, ho[16], polen, po[2];