Skip to content
Snippets Groups Projects
Commit 38ddf516 authored by rswindell's avatar rswindell
Browse files

Display hash source of TEXT_BODY as "TextBody", not "Sender".

parent f37c8544
No related branches found
No related tags found
No related merge requests found
...@@ -606,7 +606,8 @@ void dump_hashes(void) ...@@ -606,7 +606,8 @@ void dump_hashes(void)
break; break;
printf("\n"); printf("\n");
printf("%-10s: %lu\n", "Number", hash.number); printf("%-10s: %lu\n", "Number", hash.number);
printf("%-10s: %s\n", "Source", smb_hfieldtype(hash.source)); printf("%-10s: %s\n", "Source",
hash.source==TEXT_BODY ? "TextBody" : smb_hfieldtype(hash.source));
printf("%-10s: %s\n", "Time", my_timestr(&hash.time)); printf("%-10s: %s\n", "Time", my_timestr(&hash.time));
printf("%-10s: %x\n", "Flags", hash.flags); printf("%-10s: %x\n", "Flags", hash.flags);
if(hash.flags&SMB_HASH_CRC16) if(hash.flags&SMB_HASH_CRC16)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment