From 6f7e8446dba2475a866fa11dae75da2d86510315 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Fri, 10 Sep 2004 01:46:48 +0000 Subject: [PATCH] Created smb_hashsource() to return text description of hash source type. --- src/sbbs3/smbutil.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/sbbs3/smbutil.c b/src/sbbs3/smbutil.c index 0fe9584814..c740982544 100644 --- a/src/sbbs3/smbutil.c +++ b/src/sbbs3/smbutil.c @@ -606,8 +606,7 @@ void dump_hashes(void) break; printf("\n"); printf("%-10s: %lu\n", "Number", hash.number); - printf("%-10s: %s\n", "Source", - hash.source==TEXT_BODY ? "TextBody" : smb_hfieldtype(hash.source)); + printf("%-10s: %s\n", "Source", smb_hashsource(hash.source)); printf("%-10s: %s\n", "Time", my_timestr(&hash.time)); printf("%-10s: %x\n", "Flags", hash.flags); if(hash.flags&SMB_HASH_CRC16) -- GitLab