gawk

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

commit eff80f02f6b491f26a16937bba2bfec5f43ff763
parent d61187bb70b4c8f9366223607138415b4c6d7a94
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Thu, 24 Dec 2020 00:59:11 -0800

Fix gopher+

With the concatenation fix another field was needed for gopher+

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

diff --git a/main.c b/main.c @@ -301,7 +301,7 @@ int splitrun(filter **filters, int argc, const char **argv, unsigned int index, char *s, item_command *func) { int i, n; - char *item[GI_NULL + 1]; + char *item[GI_NULL + 2]; n = argsplit(item, LEN(item), s, "\t\r", 0) - 1; if (n != 4 && (n < 4 || n > 5 || strcmp(item[GI_PLUS], "+") != 0)) {