projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b760028
)
* headers_euid() ooops, 'T' is a string!
author
Wilfried Göesgens
<willi@citadel.org>
Wed, 21 Apr 2010 22:08:16 +0000
(22:08 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Wed, 21 Apr 2010 22:08:16 +0000
(22:08 +0000)
citadel/msgbase.c
patch
|
blob
|
history
diff --git
a/citadel/msgbase.c
b/citadel/msgbase.c
index af3b4c6f541e3d9ce04da8f969564133bc000bb4..8f13a44d9f8563c1b1f89eef9f2c0821e60fc21d 100644
(file)
--- a/
citadel/msgbase.c
+++ b/
citadel/msgbase.c
@@
-309,10
+309,10
@@
void headers_euid(long msgnum, void *userdata)
return;
}
- cprintf("%ld|%s|%
ld
\n",
+ cprintf("%ld|%s|%
s
\n",
msgnum,
(msg->cm_fields['E'] ? msg->cm_fields['E'] : ""),
-
msg->cm_fields['T']
);
+
(msg->cm_fields['T'] ? msg->cm_fields['T'] : "0")
);
CtdlFreeMessage(msg);
}