From 739a379a2fd86f02346c2a03aa82aa10b60be096 Mon Sep 17 00:00:00 2001 From: chris mikkelson Date: Wed, 29 Apr 2009 11:38:16 -0500 Subject: [PATCH] Use correct type (socklen_t) for addrlen. Quiets compiler warning. --- conn_pool.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conn_pool.c b/conn_pool.c index 8a9d4eb..d426494 100644 --- a/conn_pool.c +++ b/conn_pool.c @@ -95,7 +95,8 @@ listener_loop(void *data) { int sock = *(int *)data; struct sockaddr_in addr; - int addrlen, fd; + socklen_t addrlen; + int fd; struct linger l = {1,0}; int ret; -- 2.50.1