Fix infinite loop while triggering SIGHUP and log file reset causing … (#1630)
…segmentation fault
This reverts commit 8f9446cf8f.
This commit is contained in:
parent
9f3da44285
commit
a21733b23d
@ -366,7 +366,7 @@ static void sighup_callback_handler(int signum) {
|
||||
|
||||
static void set_rtpfile(void) {
|
||||
if (to_reset_log_file) {
|
||||
TURN_LOG_FUNC(TURN_LOG_LEVEL_DEBUG, "%s: resetting the log file\n", __FUNCTION__);
|
||||
printf("%s: resetting the log file\n", __FUNCTION__);
|
||||
reset_rtpprintf();
|
||||
to_reset_log_file = 0;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user