projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c90526d
)
MSG: log if we don't find a requested message in the db
author
Wilfried Goesgens
<dothebart@citadel.org>
Mon, 25 Mar 2013 13:54:44 +0000
(14:54 +0100)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Mon, 25 Mar 2013 13:54:44 +0000
(14:54 +0100)
citadel/msgbase.c
patch
|
blob
|
history
diff --git
a/citadel/msgbase.c
b/citadel/msgbase.c
index 089d50b23edee2a9d5b6e8a603cb26f88a3c65cd..825e8970a9ca9f37d4f88b885377c52be2110701 100644
(file)
--- a/
citadel/msgbase.c
+++ b/
citadel/msgbase.c
@@
-1213,6
+1213,7
@@
struct CtdlMessage *CtdlFetchMessage(long msgnum, int with_body)
MSG_syslog(LOG_DEBUG, "CtdlFetchMessage(%ld, %d)\n", msgnum, with_body);
dmsgtext = cdb_fetch(CDB_MSGMAIN, &msgnum, sizeof(long));
if (dmsgtext == NULL) {
+ MSG_syslog(LOG_ERR, "CtdlFetchMessage(%ld, %d) Failed!\n", msgnum, with_body);
return NULL;
}
mptr = dmsgtext->ptr;