mirror of
https://github.com/mirror/wget.git
synced 2024-12-27 13:20:23 +08:00
[log] miss check If logging is inhibited
This commit is contained in:
parent
562eacb76a
commit
4574771a6a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user