]> jfr.im git - solanum.git/blobdiff - authd/getaddrinfo.c
Use opernames not servernames for remote opers
[solanum.git] / authd / getaddrinfo.c
index e0524b35e810d1d5c8d3f7231c133d334853ca60..43384c426df12828147720792edb5a613eabfb8e 100644 (file)
@@ -30,6 +30,7 @@
 #ifdef _WIN32
 #include <rb_lib.h>
 #include "getaddrinfo.h"
+#include "stdinc.h"
 
 static const char in_addrany[] = { 0, 0, 0, 0 };
 static const char in_loopback[] = { 127, 0, 0, 1 };
@@ -187,7 +188,8 @@ str_isnumber(const char *p)
        char *ep;
 
        if (*p == '\0')
-               return NO;
+               return false;
+
        ep = NULL;
        errno = 0;
        (void)strtoul(p, &ep, 10);