0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-30 04:38:52 +02:00

authd: Fix windows build

Replace stray NO with false
This commit is contained in:
Matt Ullman 2016-03-23 22:51:03 -04:00
parent 2e45f5d808
commit cf623e0802

View 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);