From ec0e3f2e51113e197fa5dc083312c2301293ff1f Mon Sep 17 00:00:00 2001 From: Erik Ekman Date: Sun, 28 Jun 2015 20:25:22 +0200 Subject: [PATCH] Change sockaddr lengths back to signed They are used to check negative return values. --- src/iodined.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/iodined.c b/src/iodined.c index aa73a45..b4b12c2 100644 --- a/src/iodined.c +++ b/src/iodined.c @@ -2344,9 +2344,9 @@ main(int argc, char **argv) int retval; int max_idle_time = 0; struct sockaddr_storage dns4addr; - socklen_t dns4addr_len; + int dns4addr_len; struct sockaddr_storage dns6addr; - socklen_t dns6addr_len; + int dns6addr_len; #ifdef HAVE_SYSTEMD int nb_fds; #endif