1
0
mirror of https://github.com/yarrick/iodine.git synced 2024-11-22 13:06:06 +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 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