diff options
author | Omar Polo <op@omarpolo.com> | 2023-06-06 08:18:57 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-06-06 08:18:57 +0000 |
commit | c68baad22af4c65c090a3ba6d83a155561275134 (patch) | |
tree | 7fbf71b9c1151fc0df1dace08e785c12e74d70a9 /ge.c | |
parent | 0046c1fe9ca72ed024c8562d51e2b320f7968915 (diff) |
move config-related code to config.c
reuse it in ge too.
Diffstat (limited to 'ge.c')
-rw-r--r-- | ge.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -209,8 +209,7 @@ main(int argc, char **argv) setlocale(LC_CTYPE, ""); logger_init(); - conf.port = 1965; - conf.protos = TLS_PROTOCOL_TLSv1_2 | TLS_PROTOCOL_TLSv1_3; + config_init(); while ((ch = getopt_long(argc, argv, "d:H:hp:Vv", opts, NULL)) != -1) { switch (ch) { |