mirror of https://github.com/omar-polo/gmid.git
shuffle the code a bit to improve readability
This commit is contained in:
parent
febfcde82b
commit
b3602923d0
8
gg.c
8
gg.c
|
@ -411,18 +411,18 @@ main(int argc, char **argv)
|
|||
usage();
|
||||
}
|
||||
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
if (argc != 1)
|
||||
usage();
|
||||
|
||||
load_tls_conf();
|
||||
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
|
||||
#ifdef __OpenBSD__
|
||||
if (pledge("stdio inet dns", NULL) == -1)
|
||||
err(1, "pledge");
|
||||
#endif
|
||||
|
||||
if (argc != 1)
|
||||
usage();
|
||||
|
||||
code = get(*argv);
|
||||
|
||||
return code < 20 || code >= 30;
|
||||
|
|
Loading…
Reference in New Issue