database.c: emit use table hash as hex
authorArt Cancro <ajc@citadel.org>
Sun, 2 Jul 2023 20:49:07 +0000 (11:49 -0900)
committerArt Cancro <ajc@citadel.org>
Sun, 2 Jul 2023 20:49:07 +0000 (11:49 -0900)
citadel/server/database.c

index f544e7186e89499ef86dfb9552a8b53b9ef58d21..6026e70e93971180df08d43991091e4b6d8b8d9a 100644 (file)
@@ -750,7 +750,7 @@ int CheckIfAlreadySeen(StrBuf *guid) {
        struct cdbdata *cdbut;
        int hash = HashLittle(ChrPtr(guid), StrLength(guid));
 
-       syslog(LOG_DEBUG, "db: CheckIfAlreadySeen(%d)", hash);
+       syslog(LOG_DEBUG, "db: CheckIfAlreadySeen(0x%8x)", hash);
        cdbut = cdb_fetch(CDB_USETABLE, &hash, sizeof(hash));
        if (cdbut != NULL) {
                found = 1;