]> jfr.im git - solanum.git/blobdiff - authd/reslib.c
authd: add provider data getter/setter functions
[solanum.git] / authd / reslib.c
index c5f1363930c684027aa310292141019a424053ed..b3b43726277934bca66fee76889d8ad62907bb75 100644 (file)
@@ -97,7 +97,6 @@ typedef struct rb_addrinfo rb_addrinfo;
 
 #include "stdinc.h"
 #include "ircd_defs.h"
-#include "common.h"
 #include "ircd.h"
 #include "res.h"
 #include "reslib.h"
@@ -133,6 +132,8 @@ static const char digitvalue[256] = {
 
 #ifndef _WIN32
 static int parse_resvconf(void);
+#else
+static void parse_windows_resolvers(void);
 #endif
 
 static void add_nameserver(const char *);
@@ -164,7 +165,7 @@ irc_res_init(void)
 #ifndef _WIN32
   parse_resvconf();
 #else
-  parse_windows_nameservers();
+  parse_windows_resolvers();
 #endif
   if (irc_nscount == 0)
     add_nameserver("127.0.0.1");