summaryrefslogtreecommitdiffstats
path: root/lib/libtacplus
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-02-14 17:42:58 +0000
committerstefanf <stefanf@FreeBSD.org>2005-02-14 17:42:58 +0000
commit03a2de3818d3547af96f80c072688c6fdd6c6fe1 (patch)
tree5a1a482690a82b5a762fe1b22f8d9ecebb0c7f70 /lib/libtacplus
parent5c113e48aed10704fe27e0b338b08967972af1a5 (diff)
downloadFreeBSD-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 'lib/libtacplus')
-rw-r--r--lib/libtacplus/taclib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libtacplus/taclib.c b/lib/libtacplus/taclib.c
index d99995d..6ac3c72 100644
--- a/lib/libtacplus/taclib.c
+++ b/lib/libtacplus/taclib.c
@@ -256,9 +256,8 @@ conn_server(struct tac_handle *h)
struct timeval tv;
int nfds;
struct sockaddr peer;
- int peerlen;
+ socklen_t errlen, peerlen;
int err;
- int errlen;
/* Wait for the connection to complete. */
FD_ZERO(&wfds);
OpenPOWER on IntegriCloud