]> git.saurik.com Git - apt.git/blobdiff - methods/rfc2553emu.cc
keep trying with next if connection to a SRV host failed
[apt.git] / methods / rfc2553emu.cc
index f00e8588960f3e2cdd892a69aa091683e7785026..37288276933bf9d112a52a2960ebbc6e336c2c32 100644 (file)
@@ -154,11 +154,9 @@ int getaddrinfo(const char *nodename, const char *servname,
 /* */
 void freeaddrinfo(struct addrinfo *ai)
 {
-   struct addrinfo *Tmp;
    while (ai != 0)
    {
       free(ai->ai_addr);
-      Tmp = ai;
       ai = ai->ai_next;
       free(ai);
    }