gawk

[old] Sed-like interface to the Gopher protocol
Log | Files | Refs | LICENSE

commit f5df3aa9a53ef4f7951a3a639aa33960eb8e6308
parent 69890b8d5cf28a987c35455ec9747978b25c2d14
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Wed,  6 Jan 2021 20:20:26 -0800

Fix ftype()

The results were inverted.

Diffstat:
Mcommand.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/command.c b/command.c @@ -250,7 +250,7 @@ ftype(int argc, char **argv, int ino, char **item) { if (warg(2, 2, argc, argv)) return FAIL; - if (type(**item, argv[1], 1)) + if (type(**item, argv[1], 0)) return PASS; return NEXT; }