From c38dac753bf352f756b89bf94cc8d968af2d102d Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Tue, 21 Sep 1999 01:45:10 +0000 Subject: zsh-workers/7957 --- Src/module.c | 6 +++--- 1 file 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; -- cgit 1.4.1