summaryrefslogtreecommitdiffstats
path: root/Src/module.c
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-09-22 12:35:20 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-09-22 12:35:20 +0000
commitd139ae56432a82a3dbe11f4be89ba7d886f2c177 (patch)
treef2cd4d874fe13fe923490dd69bd92a0fb3314381 /Src/module.c
parentzsh-workers/7963 (diff)
downloadzsh-d139ae56432a82a3dbe11f4be89ba7d886f2c177.tar
zsh-d139ae56432a82a3dbe11f4be89ba7d886f2c177.tar.gz
zsh-d139ae56432a82a3dbe11f4be89ba7d886f2c177.tar.bz2
zsh-d139ae56432a82a3dbe11f4be89ba7d886f2c177.tar.lz
zsh-d139ae56432a82a3dbe11f4be89ba7d886f2c177.tar.xz
zsh-d139ae56432a82a3dbe11f4be89ba7d886f2c177.tar.zst
zsh-d139ae56432a82a3dbe11f4be89ba7d886f2c177.zip
zsh-3.1.6-pws-5zsh-3.1.6-pws-5
Diffstat (limited to 'Src/module.c')
-rw-r--r--Src/module.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Src/module.c b/Src/module.c
index dab2c0350..d10206155 100644
--- a/Src/module.c
+++ b/Src/module.c
@@ -1181,13 +1181,13 @@ bin_zmodload(char *nam, char **args, char *ops, int func)
nicezputs((char *) getdata(node), stdout);
putchar('\n');
}
- return 0;
} else {
for (; *args; args++)
for (node = firstnode(bltinmodules); node; incnode(node))
- if (!strcmp(*args, (char *) getdata(node)))
- return 0;
+ if (strcmp(*args, (char *) getdata(node)))
+ return 1;
}
+ return 0;
}
/* Otherwise we return 1 -- different from the dynamic version. */
return 1;