diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-09-22 12:53:49 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-09-22 12:53:49 +0000 |
commit | c17448c2765f64df856d6f0d620d410c32a734b9 (patch) | |
tree | 677461a6d709ff3216ef17a4b34f85d2bda472a7 /Src | |
parent | eda0e496969f1eb06eec47501fce74f608d34704 (diff) | |
download | zsh-c17448c2765f64df856d6f0d620d410c32a734b9.tar.gz zsh-c17448c2765f64df856d6f0d620d410c32a734b9.tar.xz zsh-c17448c2765f64df856d6f0d620d410c32a734b9.zip |
zsh-workers/7959
Diffstat (limited to 'Src')
-rw-r--r-- | Src/module.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Src/module.c b/Src/module.c index d10206155..dab2c0350 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 1; + if (!strcmp(*args, (char *) getdata(node))) + return 0; } - return 0; } /* Otherwise we return 1 -- different from the dynamic version. */ return 1; |