aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2005-07-23 18:24:11 +0000
committerMatthias Andree <matthias.andree@gmx.de>2005-07-23 18:24:11 +0000
commitb2401f7a5900562a1e4e22c0789009a1e73fefc6 (patch)
treed15b624346cb5d610df0dfc35cac2596340ab325 /fetchmail.c
parent3d0ea668e95f5fbd79a04323abc40900d56823f9 (diff)
downloadfetchmail-b2401f7a5900562a1e4e22c0789009a1e73fefc6.tar.gz
fetchmail-b2401f7a5900562a1e4e22c0789009a1e73fefc6.tar.bz2
fetchmail-b2401f7a5900562a1e4e22c0789009a1e73fefc6.zip
Remove a check that is always true. Found by Nico Golde.
svn path=/trunk/; revision=4174
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/fetchmail.c b/fetchmail.c
index d9ef9927..abc717e0 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -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)\