Change sockaddr lengths back to signed

They are used to check negative return values.
This commit is contained in:
Erik Ekman 2015-06-28 20:25:22 +02:00
parent 7a117bd71e
commit ec0e3f2e51
1 changed files with 2 additions and 2 deletions

View File

@ -2344,9 +2344,9 @@ main(int argc, char **argv)
int retval; int retval;
int max_idle_time = 0; int max_idle_time = 0;
struct sockaddr_storage dns4addr; struct sockaddr_storage dns4addr;
socklen_t dns4addr_len; int dns4addr_len;
struct sockaddr_storage dns6addr; struct sockaddr_storage dns6addr;
socklen_t dns6addr_len; int dns6addr_len;
#ifdef HAVE_SYSTEMD #ifdef HAVE_SYSTEMD
int nb_fds; int nb_fds;
#endif #endif