Why Nostr? What is Njump?
2024-07-02 23:24:02

npub1a4…fvhkq on Nostr: commit d6b436ef6695ddc9c099aed234bc22d55f5a0742 Author: @RandyMcMillan ...

commit d6b436ef6695ddc9c099aed234bc22d55f5a0742
Author: @RandyMcMillan <[email protected]>
Date: Sun Jan 14 18:31:40 2024 -0500

gnostr.c: || or

diff --git a/gnostr.c b/gnostr.c
index 3e8aca637..bb7b73dad 100644
--- a/gnostr.c
+++ b/gnostr.c
@@ -484,11 +484,11 @@ static int parse_args(int argc, const char *argv[], struct args *args, struct no
for (; argc; ) {
arg = *argv++; argc--;

- if (!strcmp(arg, "--help") | !strcmp(arg, "-h")) { usage(); }
+ if (!strcmp(arg, "--help") || !strcmp(arg, "-h")) { usage(); }

- if (!strcmp(arg, "--version") | !strcmp(arg, "-v")) { version(); }
+ if (!strcmp(arg, "--version") || !strcmp(arg, "-v")) { version(); }

- if (!strcmp(arg, "--about") | !strcmp(arg, "-a")) { about(); }
+ if (!strcmp(arg, "--about") || !strcmp(arg, "-a")) { about(); }

if (!strcmp(arg, "--hash")){ openssl_hash(argc, *argv, args); }
Author Public Key
npub1a4d73c02e7ag585hy3cgxerjsnrkjufltnku70hesx6hl3np9rzs4fvhkq