tlsgate

TLS reverse proxy
git clone git://git.akobets.xyz/tlsgate
Log | Files | Refs | README | LICENSE

commit df5401c0d3a20c005a7077dee7c83f85dce4f0ff
parent b10b8ae09622284f5192465dfd9942d7c175815b
Author: Artem Kobets <artem@akobets.xyz>
Date:   Sun,  2 Aug 2020 13:40:31 +0300

revert arg.h changes

Diffstat:
Marg.h | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arg.h b/arg.h @@ -10,8 +10,8 @@ extern char *argv0; /* use main(int argc, char *argv[]) */ #define ARGBEGIN for (argv0 = *argv, argv++, argc--;\ - argv[0] && argv[0][1]\ - && argv[0][0] == '-';\ + argv[0] && argv[0][0] == '-'\ + && argv[0][1];\ argc--, argv++) {\ char argc_;\ char **argv_;\ @@ -35,7 +35,7 @@ extern char *argv0; #define ARGC() argc_ #define EARGF(x) ((argv[0][1] == '\0' && argv[1] == NULL)?\ - ((x), (char *)0) :\ + ((x), abort(), (char *)0) :\ (brk_ = 1, (argv[0][1] != '\0')?\ (&argv[0][1]) :\ (argc--, argv++, argv[0])))