diff options
author | stefanf <stefanf@FreeBSD.org> | 2005-02-14 17:42:58 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2005-02-14 17:42:58 +0000 |
commit | 03a2de3818d3547af96f80c072688c6fdd6c6fe1 (patch) | |
tree | 5a1a482690a82b5a762fe1b22f8d9ecebb0c7f70 /libexec/fingerd | |
parent | 5c113e48aed10704fe27e0b338b08967972af1a5 (diff) | |
download | FreeBSD-src-03a2de3818d3547af96f80c072688c6fdd6c6fe1.zip FreeBSD-src-03a2de3818d3547af96f80c072688c6fdd6c6fe1.tar.gz |
Fix most cases where the address of an int is passed to a function expecting a
socklen_t * argument.
Diffstat (limited to 'libexec/fingerd')
-rw-r--r-- | libexec/fingerd/fingerd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/fingerd/fingerd.c b/libexec/fingerd/fingerd.c index 9a28933..0979c64 100644 --- a/libexec/fingerd/fingerd.c +++ b/libexec/fingerd/fingerd.c @@ -71,7 +71,8 @@ main(int argc, char *argv[]) int ch; char *lp; struct sockaddr_storage ss; - int p[2], logging, pflag, secure, sval; + socklen_t sval; + int p[2], logging, pflag, secure; #define ENTRIES 50 char **ap, *av[ENTRIES + 1], **comp, line[1024], *prog; char rhost[MAXHOSTNAMELEN]; |