mirror of
https://github.com/3proxy/3proxy.git
synced 2026-08-04 06:37:00 +00:00
set logfunc after configuration reload
This commit is contained in:
parent
e8203ac3a5
commit
461fae12e7
1 changed files with 1 additions and 1 deletions
|
|
@ -308,8 +308,8 @@ static int h_log(int argc, unsigned char ** argv){
|
|||
}
|
||||
#ifndef NOODBC
|
||||
else if(*argv[1]=='&'){
|
||||
if(notchanged) return 0;
|
||||
conf.logfunc = logsql;
|
||||
if(notchanged) return 0;
|
||||
pthread_mutex_lock(&log_mutex);
|
||||
close_sql();
|
||||
init_sql((char *)argv[1]+1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue