]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
Should have compiled before pushing ;)
authorWillem Toorop <willem@nlnetlabs.nl>
Mon, 15 Jul 2019 11:27:50 +0000 (13:27 +0200)
committerWillem Toorop <willem@nlnetlabs.nl>
Mon, 15 Jul 2019 11:27:50 +0000 (13:27 +0200)
net.c

diff --git a/net.c b/net.c
index 13bfc97240524c3d3a400e8a90fa715786ef6ba2..0656c1cb8570d94b51fedaed1f1858899a881629 100644 (file)
--- a/net.c
+++ b/net.c
@@ -434,7 +434,7 @@ ldns_udp_bgsend(ldns_buffer *qbin,
                const struct sockaddr_storage *to  , socklen_t tolen, 
                struct timeval timeout)
 {
-       s = ldns_udp_bgsend_from(qbin, to, tolen, NULL, 0, timeout);
+       int s = ldns_udp_bgsend_from(qbin, to, tolen, NULL, 0, timeout);
        return s > 0 ? s : 0;
 }