diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2011-04-06 11:35:34 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2011-04-06 11:35:34 +0000 |
commit | ecdee9dbaa69f9aa6f959777e5e515c31bb6a0f8 (patch) | |
tree | cf1a56d8f171f0e1aa00e0c2cb657a454281e7f0 | |
parent | cf8e222d412ad2cd73b9fbb00938cbcf8698eedd (diff) |
Local variables storing integer values and printed with %d should be
declared as integer types, not pointers, really.
-rw-r--r-- | usr.sbin/httpd/src/modules/proxy/proxy_ftp.c | 5 |
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]; |