]> Pileus Git - ~andy/fetchmail/commitdiff
Remove a check that is always true. Found by Nico Golde.
authorMatthias Andree <matthias.andree@gmx.de>
Sat, 23 Jul 2005 18:24:11 +0000 (18:24 -0000)
committerMatthias Andree <matthias.andree@gmx.de>
Sat, 23 Jul 2005 18:24:11 +0000 (18:24 -0000)
svn path=/trunk/; revision=4174

fetchmail.c

index d9ef9927a4e9b48b2717948058f7209f7c1b34d1..abc717e0987f40f96b9778cd65fc945191794f3e 100644 (file)
@@ -1062,16 +1062,15 @@ static int load_params(int argc, char **argv, int optind)
      * If we're using Kerberos for authentication, we need 
      * the FQDN in order to generate capability keys.
      */
-    if (strcmp(fetchmailhost, "localhost") == 0)
-       for (ctl = querylist; ctl; ctl = ctl->next)
-           if (ctl->active && 
+    for (ctl = querylist; ctl; ctl = ctl->next)
+       if (ctl->active && 
                (ctl->server.protocol==P_ETRN || ctl->server.protocol==P_ODMR
                 || ctl->server.authenticate == A_KERBEROS_V4
                 || ctl->server.authenticate == A_KERBEROS_V5))
-           {
-               fetchmailhost = host_fqdn();
-               break;
-           }
+       {
+           fetchmailhost = host_fqdn();
+           break;
+       }
 
     /* this code enables flags to be turned off */
 #define DEFAULT(flag, dflt)    if (flag == FLAG_TRUE)\