X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Ftasks.c;h=66b05e3e09f841ea2376a01702003a7e4c9aa92f;hb=HEAD;hp=79c8ec851c84f4f08bf09a057018a1e2ddac9f5d;hpb=85364efb787d12d551db7c3ee5d51cac611aeae9;p=citadel.git diff --git a/webcit/tasks.c b/webcit/tasks.c index 79c8ec851..89910eba4 100644 --- a/webcit/tasks.c +++ b/webcit/tasks.c @@ -1,6 +1,6 @@ #include "webcit.h" #include "calendar.h" -#include "webserver.h" + /* * qsort filter to move completed tasks to bottom of task list @@ -87,7 +87,6 @@ int tasks_RenderView_or_Tail(SharedMessageStatus *Stat, time_t due; char buf[SIZ]; icalproperty *p; - wcsession *WCC = WC; wc_printf("
");
wc_printf(_("Completed?"));
@@ -115,8 +114,8 @@ int tasks_RenderView_or_Tail(SharedMessageStatus *Stat,
task_completed_cmp);
}
- Pos = GetNewHashPos(WCC->disp_cal_items, 0);
- while (GetNextHashPos(WCC->disp_cal_items, Pos, &hklen, &HashKey, &vCal)) {
+ Pos = GetNewHashPos(WC->disp_cal_items, 0);
+ while (GetNextHashPos(WC->disp_cal_items, Pos, &hklen, &HashKey, &vCal)) {
icalproperty_status todoStatus;
int is_date;
@@ -230,6 +229,11 @@ void display_edit_individual_task(icalcomponent *supplied_vtodo, long msgnum, ch
wc_printf(" \n");
wc_printf(" |
---|