mirror of
				https://github.com/coturn/coturn.git
				synced 2025-10-31 06:51:30 +01:00 
			
		
		
		
	Restore no_stdout_log behaviour
In commit 599a61ee this was removed, by accident it could seem.
This commit is contained in:
		
							parent
							
								
									b58166cc90
								
							
						
					
					
						commit
						9bcc898b05
					
				| @ -506,7 +506,7 @@ void turn_log_func_default(TURN_LOG_LEVEL level, const char* format, ...) | ||||
| 	} | ||||
| 	so_far += snprintf(s + so_far, sizeof(s)-100, (level == TURN_LOG_LEVEL_ERROR) ? ": ERROR: " : ": "); | ||||
| 	so_far += vsnprintf(s + so_far,sizeof(s) - (so_far+1), format, args); | ||||
| 	/* always write to stdout */ | ||||
| 	if(!no_stdout_log) | ||||
| 		fwrite(s, so_far, 1, stdout); | ||||
| 	/* write to syslog or to log file */ | ||||
| 	if(to_syslog) { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user