Don't show MD5 on lower debug levels

This commit is contained in:
Stefan Ritt 2014-12-18 16:31:47 +01:00
parent 9b6b327744
commit 1735132458
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -2,6 +2,7 @@ elogd
elconv
elog
*.o
*~
# Mac
.DS_Store

View File

@ -3892,7 +3892,7 @@ int parse_file(LOGBOOK *lbs, char *file_name)
MD5_checksum(p, len, lbs->el_index[*lbs->n_el_index].md5_digest);
if (lbs->el_index[*lbs->n_el_index].message_id > 0) {
if (get_verbose() >= VERBOSE_INFO) {
if (get_verbose() == VERBOSE_DEBUG) {
eprintf(" ID %3d, %s, ofs %5d, %s, MD5=", lbs->el_index[*lbs->n_el_index].message_id,
str, lbs->el_index[*lbs->n_el_index].offset,
lbs->el_index[*lbs->n_el_index].in_reply_to ? "reply" : "thead");