projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87364d2
)
* apply 4a5a341e5166a9a5ed586e6d064076507d96c958 by Sam Liddicott; In search filters...
author
Wilfried Göesgens
<willi@citadel.org>
Fri, 12 Jun 2009 07:11:38 +0000
(07:11 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Fri, 12 Jun 2009 07:11:38 +0000
(07:11 +0000)
citadel/msgbase.c
patch
|
blob
|
history
diff --git
a/citadel/msgbase.c
b/citadel/msgbase.c
index 31c5ae9b72068e8551885a8e8a0b33a8a68f18d9..5e6b9895acd835b88a696847ac2418228ecae347 100644
(file)
--- a/
citadel/msgbase.c
+++ b/
citadel/msgbase.c
@@
-300,6
+300,8
@@
int CtdlMsgCmp(struct CtdlMessage *msg, struct CtdlMessage *template) {
for (i='A'; i<='Z'; ++i) {
if (template->cm_fields[i] != NULL) {
if (msg->cm_fields[i] == NULL) {
+ /* Considered equal if temmplate is empty string */
+ if (IsEmptyStr(template->cm_fields[i])) return 0;
return 1;
}
if (strcasecmp(msg->cm_fields[i],