[log] miss check If logging is inhibited

This commit is contained in:
raminfp 2019-04-11 08:50:42 +00:00
parent 562eacb76a
commit 4574771a6a

View File

@ -427,6 +427,9 @@ log_vprintf_internal (struct logvprintf_state *state, const char *fmt,
FILE *fp = get_log_fp ();
FILE *warcfp = get_warc_log_fp ();
if (fp == NULL)
return false;
if (!save_context_p && warcfp == NULL)
{
/* In the simple case just call vfprintf(), to avoid needless