From: chris mikkelson Date: Wed, 29 Apr 2009 16:38:16 +0000 (-0500) Subject: Use correct type (socklen_t) for addrlen. Quiets compiler warning. X-Git-Url: https://git.mikk.net/?a=commitdiff_plain;h=739a379a2fd86f02346c2a03aa82aa10b60be096;p=smtpsink Use correct type (socklen_t) for addrlen. Quiets compiler warning. --- 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;