1
0
mirror of https://github.com/yarrick/iodine.git synced 2024-11-22 04:56:07 +03:00

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

View File

@ -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