Removed the global alias file
[mmh] / uip / aliasbr.c
index 43a0e1b..1923867 100644 (file)
@@ -53,9 +53,6 @@ akvalue(char *s)
 {
        register char *v;
 
-       if (akahead == NULL)
-               alias(AliasFile);
-
        akvis = -1;
        v = akval(akahead, s);
        if (akvis == -1)
@@ -137,8 +134,7 @@ alias(char *file)
        register struct aka *ak = NULL;
        register FILE *fp;
 
-       if (*file != '/'
-                       && (strncmp(file, "./", 2) && strncmp(file, "../", 3)))
+       if (*file!='/' && (strncmp(file, "./", 2) && strncmp(file, "../", 3)))
                file = etcpath(file);
        if ((fp = fopen(file, "r")) == NULL) {
                akerrst = file;