]> code.citadel.org Git - citadel.git/blobdiff - webcit/tasks.c
Fix lots of warnings all over the place, make inbound buffers of FMOUT const.
[citadel.git] / webcit / tasks.c
index dc3fa2c1327979cd4842d4d39fa659c1bb225c90..e0d5a55717bb97e2ef9689bf94caa00c21fef5cf 100644 (file)
@@ -179,12 +179,9 @@ void display_edit_individual_task(icalcomponent *supplied_vtodo, long msgnum, ch
        icalcomponent *vtodo;
        icalproperty *p;
        struct icaltimetype IcalTime;
-       time_t now;
        int created_new_vtodo = 0;
        icalproperty_status todoStatus;
 
-       now = time(NULL);
-
        if (supplied_vtodo != NULL) {
                vtodo = supplied_vtodo;
 
@@ -573,7 +570,7 @@ void save_individual_task(icalcomponent *supplied_vtodo, long msgnum, char* from
 
        /* Go back to wherever we came from */
        if (ibstr("return_to_summary") == 1) {
-               summary();
+               do_template("summary_page");
        }
        else {
                readloop(readfwd, eUseDefault);