mirror of
https://github.com/xroche/httrack.git
synced 2026-06-22 18:17:46 +03:00
Compare commits
1 Commits
silence-co
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
54f5717057 |
@@ -5305,6 +5305,11 @@ static int get_loglevel_from_coucal(coucal_loglevel level) {
|
||||
static void default_coucal_loghandler(void *arg, coucal_loglevel level,
|
||||
const char* format, va_list args) {
|
||||
|
||||
/* informational chatter (hashtable stats on delete, etc.) only when
|
||||
debugging; keep warnings and critical errors always visible. */
|
||||
if (level > coucal_log_warning && hts_dgb_init <= 0) {
|
||||
return;
|
||||
}
|
||||
if (level <= coucal_log_warning) {
|
||||
fprintf(stderr, "** warning: ");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user