diff options
author | Jeremy Allison <jra@samba.org> | 2007-11-03 18:41:26 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-11-03 18:41:26 -0700 |
commit | 25074433f412c4dd2531fd268d51be8753ddc11b (patch) | |
tree | 2c18dde9c017a675f2ea75e76ae773bb9057ded5 /source3/web | |
parent | 6658165d5e9cd186fea74e1581091233e8990e9b (diff) | |
download | samba-25074433f412c4dd2531fd268d51be8753ddc11b.tar.gz samba-25074433f412c4dd2531fd268d51be8753ddc11b.tar.bz2 samba-25074433f412c4dd2531fd268d51be8753ddc11b.zip |
I can't get away without a 'length' arg. :-).
Jeremy.
(This used to be commit 95d01279a5def709d0a5d5ae7224d6286006d120)
Diffstat (limited to 'source3/web')
-rw-r--r-- | source3/web/cgi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/web/cgi.c b/source3/web/cgi.c index 71328459f0..41ac29be5d 100644 --- a/source3/web/cgi.c +++ b/source3/web/cgi.c @@ -648,7 +648,7 @@ const char *cgi_remote_addr(void) { if (inetd_server) { char addr[INET6_ADDRSTRLEN]; - return get_peer_addr(1,addr); + return get_peer_addr(1,addr,sizeof(addr)); } return getenv("REMOTE_ADDR"); } |