diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-12-22 21:53:41 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-12-22 21:53:41 +0000 |
commit | 99fec28ac96282c88de64ee11fbbcbd18b148f2e (patch) | |
tree | ef45a03819b5ae868f819cd948a76fde98aceb6b /libexec | |
parent | dfc7af5b74ab0a187205c4f64d04e9b4770f836e (diff) |
use socklen_t; andrushock@korovino.net
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/ftp-proxy/util.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/ftp-proxy/util.c b/libexec/ftp-proxy/util.c index 3c8b20eab91..b308063d94e 100644 --- a/libexec/ftp-proxy/util.c +++ b/libexec/ftp-proxy/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.16 2003/06/28 01:04:57 deraadt Exp $ */ +/* $OpenBSD: util.c,v 1.17 2003/12/22 21:53:40 deraadt Exp $ */ /* * Copyright (c) 1996-2001 @@ -77,7 +77,8 @@ get_proxy_env(int connected_fd, struct sockaddr_in *real_server_sa_ptr, struct sockaddr_in *client_sa_ptr) { struct pfioc_natlook natlook; - int slen, fd; + socklen_t slen; + int fd; slen = sizeof(*real_server_sa_ptr); if (getsockname(connected_fd, (struct sockaddr *)real_server_sa_ptr, |