mirror of https://github.com/omar-polo/gmid.git
fix previous
This commit is contained in:
parent
ca84625a7f
commit
f5c8360ade
3
config.c
3
config.c
|
@ -51,10 +51,8 @@ config_free(void)
|
||||||
struct proxy *p, *tp;
|
struct proxy *p, *tp;
|
||||||
struct envlist *e, *te;
|
struct envlist *e, *te;
|
||||||
struct alist *a, *ta;
|
struct alist *a, *ta;
|
||||||
int v;
|
|
||||||
|
|
||||||
ps = conf.ps;
|
ps = conf.ps;
|
||||||
v = conf.verbose;
|
|
||||||
|
|
||||||
if (conf.sock4 != -1) {
|
if (conf.sock4 != -1) {
|
||||||
event_del(&conf.evsock4);
|
event_del(&conf.evsock4);
|
||||||
|
@ -70,7 +68,6 @@ config_free(void)
|
||||||
memset(&conf, 0, sizeof(conf));
|
memset(&conf, 0, sizeof(conf));
|
||||||
|
|
||||||
conf.ps = ps;
|
conf.ps = ps;
|
||||||
conf.verbose = v;
|
|
||||||
conf.sock4 = conf.sock6 = -1;
|
conf.sock4 = conf.sock6 = -1;
|
||||||
conf.protos = TLS_PROTOCOL_TLSv1_2 | TLS_PROTOCOL_TLSv1_3;
|
conf.protos = TLS_PROTOCOL_TLSv1_2 | TLS_PROTOCOL_TLSv1_3;
|
||||||
init_mime(&conf.mime);
|
init_mime(&conf.mime);
|
||||||
|
|
Loading…
Reference in New Issue