loudmouth/lm-resolver.c
changeset 628 1ac0534623ef
parent 625 632940b9170f
child 647 2e35e7499ee8
--- 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);