projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f04b26
)
database.c: emit use table hash as hex
author
Art Cancro
<ajc@citadel.org>
Sun, 2 Jul 2023 20:49:07 +0000
(11:49 -0900)
committer
Art Cancro
<ajc@citadel.org>
Sun, 2 Jul 2023 20:49:07 +0000
(11:49 -0900)
citadel/server/database.c
patch
|
blob
|
history
diff --git
a/citadel/server/database.c
b/citadel/server/database.c
index f544e7186e89499ef86dfb9552a8b53b9ef58d21..6026e70e93971180df08d43991091e4b6d8b8d9a 100644
(file)
--- a/
citadel/server/database.c
+++ b/
citadel/server/database.c
@@
-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;