mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-27 06:33:21 -05:00
Fix thinko in err.c, possibly fixing #165
This commit is contained in:
parent
8c0561f144
commit
2d7da86e8c
@ -216,7 +216,7 @@ int err_settruncate(int truncate) {
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
err_truncate = truncate;
|
err_truncate = truncate;
|
||||||
if((err_truncate) && (err_filename)) {
|
if((err_truncate) && (err_file)) {
|
||||||
file=strdup(err_filename);
|
file=strdup(err_filename);
|
||||||
err_setlogfile(err_filename);
|
err_setlogfile(err_filename);
|
||||||
if(file) free(file);
|
if(file) free(file);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user