]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/http-addrlist.c
Merge changes from CUPS 1.4svn-r7715.
[thirdparty/cups.git] / cups / http-addrlist.c
index effe2e6a80ea11e54546f6a4e98a605d34de84e1..265107af04a6383e4f1a6977cca7814e239e675c 100644 (file)
@@ -529,8 +529,6 @@ httpAddrGetList(const char *hostname,       /* I - Hostname, IP address, or NULL for p
 
         if (addr)
          addr->next = temp;
-       else
-          addr = temp;
       }
     }
     else if (!hostname)
@@ -584,8 +582,6 @@ httpAddrGetList(const char *hostname,       /* I - Hostname, IP address, or NULL for p
 
         if (addr)
          addr->next = temp;
-       else
-          addr = temp;
       }
     }
   }