gawk

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

commit adf079f494619d02092e5adcfe6d855c345f4af7
parent 05d38cd29b52872828180923986df34304192fd8
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Mon, 21 Dec 2020 19:15:32 -0800

Rename `unlinkit` to `mycache`

Diffstat:
Mmain.c | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/main.c b/main.c @@ -583,13 +583,13 @@ gawk(const char *host, const char *path, const char *port) char prompt[64]; int argc; int done; - int unlinkit; + int mycache; getcache(cache, host, port, path); if (exists(cache)) - unlinkit = 0; + mycache = 0; else { - unlinkit = 1; + mycache = 1; if (selwrite(host, port, path, cache) == 1) return 0; /* let the user handle it */ } @@ -615,7 +615,7 @@ gawk(const char *host, const char *path, const char *port) --depth; - if (unlinkit && unlink(cache) == -1) + if (mycache && unlink(cache) == -1) warn("unable to unlink '%s'", cache); if (ferror(stdin)) { warn("'stdin'");