]> granicus.if.org Git - libevent/commitdiff
fix a bug in which nameservers would not be added to the correct base in windows.
authorNiels Provos <provos@gmail.com>
Wed, 25 Jun 2008 14:56:35 +0000 (14:56 +0000)
committerNiels Provos <provos@gmail.com>
Wed, 25 Jun 2008 14:56:35 +0000 (14:56 +0000)
svn:r873

evdns.c

diff --git a/evdns.c b/evdns.c
index 0042fa0919330d23c64d4920379180fb1b3b9a1d..762e4bc50f2a9a67e3d4b506c2635b20adf64c56 100644 (file)
--- a/evdns.c
+++ b/evdns.c
@@ -2961,7 +2961,7 @@ evdns_nameserver_ip_add_line(struct evdns_base *base, const char *ips) {
                if (!buf) return 4;
                memcpy(buf, addr, ips-addr);
                buf[ips-addr] = '\0';
-               r = evdns_nameserver_ip_add(buf);
+               r = evdns_base_nameserver_ip_add(base, buf);
                mm_free(buf);
                if (r) return r;
        }