--- a/loudmouth/lm-resolver.c Tue Apr 24 14:02:14 2012 -0700
+++ b/loudmouth/lm-resolver.c Wed Nov 14 16:04:52 2012 +0200
@@ -477,14 +477,13 @@
/* Parse the answers */
while (ancount-- > 0 && (len = dn_expand (srv, end, pos, name, 255)) >= 0) {
/* Ignore the initial string */
- uint16_t pref, weight, port;
+ uint16_t pref, port;
g_assert (len >= 0);
pos += len;
/* Ignore type, ttl, class and dlen */
pos += 10;
GETSHORT (pref, pos);
- GETSHORT (weight, pos);
GETSHORT (port, pos);
len = dn_expand (srv, end, pos, name, 255);