Andrew Scott
6299bdbf04
src/common: return -1 from get_addr on error
...
getaddrinfo will typically return negative values for errors, but this
is not the case for all systems. For example, glibc defines the errors
as negative, but the WSA equivalents are all positive. This commit
unifies the approach within iodine by always returning -1 in the event
getaddrinfo is unsuccessful.
2024-10-29 18:37:31 -04:00
..
2017-03-11 21:30:01 -08:00
2017-10-22 11:54:59 +02:00
2015-08-05 20:04:03 +02:00
2020-07-24 18:51:05 +02:00
2020-07-24 19:02:41 +02:00
2020-07-24 18:51:05 +02:00
2024-07-15 23:54:25 +02:00
2017-04-10 21:26:13 +02:00
2024-10-29 18:37:31 -04:00
2021-08-25 01:13:48 +02:00
2020-07-24 19:15:02 +02:00
2017-04-10 21:26:13 +02:00
2017-03-11 21:30:50 -08:00
2017-04-10 21:26:13 +02:00
2024-07-15 23:54:25 +02:00
2017-03-11 21:30:01 -08:00
2021-08-24 23:32:57 +02:00
2023-04-19 00:21:08 +03:30
2017-03-11 14:23:02 -08:00
2014-08-07 21:18:33 +02:00
2020-05-24 14:12:40 +02:00
2021-01-31 13:46:12 +01:00
2014-06-01 08:46:54 +02:00
2023-11-30 00:29:17 +01:00
2020-07-24 18:56:30 +02:00
2017-03-11 21:30:49 -08:00
2024-07-15 23:46:22 +02:00
2014-08-07 21:18:33 +02:00
2022-07-18 23:35:54 +02:00
2017-10-22 11:59:38 +02:00
2021-08-25 22:05:19 +02:00
2017-03-11 21:30:01 -08:00
2014-08-07 21:18:33 +02:00
2021-01-31 14:01:13 +01:00