projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Readloop remove special cases
[citadel.git]
/
webcit
/
summary.c
diff --git
a/webcit/summary.c
b/webcit/summary.c
index ecb90c0b19be3bccbc3ec1d141bacd777b4e2ae1..172a15486703d700279a37f4ee2abac124a1dee8 100644
(file)
--- a/
webcit/summary.c
+++ b/
webcit/summary.c
@@
-117,7
+117,7
@@
void tasks_section(void) {
num_msgs = 0;
}
else {
num_msgs = 0;
}
else {
- num_msgs = load_msg_ptrs("MSGS ALL", &Stat, NULL);
+ num_msgs = load_msg_ptrs("MSGS ALL",
NULL,
&Stat, NULL);
}
if (num_msgs > 0) {
}
if (num_msgs > 0) {
@@
-142,6
+142,7
@@
void tasks_section(void) {
*/
void calendar_section(void) {
char cmd[SIZ];
*/
void calendar_section(void) {
char cmd[SIZ];
+ char filter[SIZ];
int num_msgs = 0;
HashPos *at;
const char *HashKey;
int num_msgs = 0;
HashPos *at;
const char *HashKey;
@@
-165,13
+166,16
@@
void calendar_section(void) {
num_msgs = 0;
}
else {
num_msgs = 0;
}
else {
- num_msgs = load_msg_ptrs("MSGS ALL", &Stat, NULL);
+ num_msgs = load_msg_ptrs("MSGS ALL",
NULL,
&Stat, NULL);
}
calendar_GetParamsGetServerCall(&Stat,
&v,
readnew,
cmd,
}
calendar_GetParamsGetServerCall(&Stat,
&v,
readnew,
cmd,
- sizeof(cmd));
+ sizeof(cmd),
+ filter,
+ sizeof(filter));
+
if (num_msgs > 0) {
at = GetNewHashPos(WCC->summ, 0);
if (num_msgs > 0) {
at = GetNewHashPos(WCC->summ, 0);