aboutsummaryrefslogtreecommitdiffstats
path: root/checkalias.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-07-20 07:10:40 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-07-20 07:10:40 +0000
commita5bed21a467d56287d00307dca0f9465408f1363 (patch)
tree6b1d78aa1f55f72d6e3c5035b06b832bf9e77378 /checkalias.c
parent234564267333a107aba1641183b0208e0fd1c9ee (diff)
downloadfetchmail-a5bed21a467d56287d00307dca0f9465408f1363.tar.gz
fetchmail-a5bed21a467d56287d00307dca0f9465408f1363.tar.bz2
fetchmail-a5bed21a467d56287d00307dca0f9465408f1363.zip
Cosmetic fix.
svn path=/trunk/; revision=1990
Diffstat (limited to 'checkalias.c')
-rw-r--r--checkalias.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/checkalias.c b/checkalias.c
index b13f1296..317cd2d1 100644
--- a/checkalias.c
+++ b/checkalias.c
@@ -133,18 +133,18 @@ int is_host_alias(const char *name, struct query *ctl)
if (strcasecmp(ctl->server.truename, he->h_name) == 0)
goto match;
else if (((he_st = gethostbyname(ctl->server.truename)) != (struct hostent *)NULL) && ctl->server.checkalias)
- {
- if (outlevel == O_VERBOSE)
- error(0, 0, "Checking if %s is really the same node as %s",ctl->server.truename,name);
- if (is_ip_alias(ctl->server.truename,name) == TRUE)
- {
- if (outlevel == O_VERBOSE)
- error(0, 0, "Yes, their IP addresses match");
- goto match;
- }
- if (outlevel == O_VERBOSE)
- error(0, 0, "No, their IP addresses don't match");
- }
+ {
+ if (outlevel == O_VERBOSE)
+ error(0, 0, "Checking if %s is really the same node as %s",ctl->server.truename,name);
+ if (is_ip_alias(ctl->server.truename,name) == TRUE)
+ {
+ if (outlevel == O_VERBOSE)
+ error(0, 0, "Yes, their IP addresses match");
+ goto match;
+ }
+ if (outlevel == O_VERBOSE)
+ error(0, 0, "No, their IP addresses don't match");
+ }
else
return(FALSE);
}