logging: Set log function to default when unset
parent
4691a35b7b
commit
524f9e0399
|
@ -183,7 +183,7 @@ void nvnc_set_log_level(enum nvnc_log_level level)
|
|||
EXPORT
|
||||
void nvnc_set_log_fn(nvnc_log_fn fn)
|
||||
{
|
||||
log_fn = fn;
|
||||
log_fn = fn ? fn : nvnc_default_logger;
|
||||
}
|
||||
|
||||
EXPORT
|
||||
|
|
Loading…
Reference in New Issue