]> code.citadel.org Git - citadel.git/blobdiff - webcit/event.c
More conversion of date/time strings to strftime-based functions.
[citadel.git] / webcit / event.c
index 4bfcb0a8a5a73132b688c343227151bde3454d74..94fac68dbc9d4188cfea0eb40d42ff7728083431 100644 (file)
@@ -3,7 +3,7 @@
  */
 /**
  * \defgroup EditCal Editing calendar events.
- *
+ * \ingroup Calendaring
  */
 /*@{*/
 #include "webcit.h"
@@ -254,7 +254,8 @@ void display_edit_individual_event(icalcomponent *supplied_vevent, long msgnum)
        }
        wprintf("</TEXTAREA></TD></TR>");
 
-       /* For a new event, the user creating the event should be the
+       /**
+        * For a new event, the user creating the event should be the
         * organizer.  Set this field accordingly.
         */
        if (icalcomponent_get_first_property(vevent, ICAL_ORGANIZER_PROPERTY)
@@ -269,17 +270,14 @@ void display_edit_individual_event(icalcomponent *supplied_vevent, long msgnum)
         * Determine who is the organizer of this event.
         * We need to determine "me" or "not me."
         */
-       organizer = icalcomponent_get_first_property(vevent,
-                                               ICAL_ORGANIZER_PROPERTY);
+       organizer = icalcomponent_get_first_property(vevent, ICAL_ORGANIZER_PROPERTY);
        if (organizer != NULL) {
                strcpy(organizer_string, icalproperty_get_organizer(organizer));
                if (!strncasecmp(organizer_string, "MAILTO:", 7)) {
                        strcpy(organizer_string, &organizer_string[7]);
                        striplt(organizer_string);
-                       lprintf(9, "ISME %s\n", organizer_string);
                        serv_printf("ISME %s", organizer_string);
                        serv_getln(buf, sizeof buf);
-                       lprintf(9, "%s\n", buf);
                        if (buf[0] == '2') {
                                organizer_is_me = 1;
                        }
@@ -667,7 +665,7 @@ STARTOVER:  lprintf(9, "Remove unlisted attendees\n");
                lprintf(9, "Encapsulating into full VCALENDAR component\n");
                encaps = ical_encapsulate_subcomponent(icalcomponent_new_clone(vevent));
 
-               /* If the user clicked 'Save' then save it to the server. */
+               /** If the user clicked 'Save' then save it to the server. */
                lprintf(9, "Serializing it for saving\n");
                if ( (encaps != NULL) && (strlen(bstr("save_button")) > 0) ) {
                        serv_puts("ENT0 1|||4|||1|");