]> code.citadel.org Git - citadel.git/commitdiff
* Fixed the bug that caused freebusy publishes to crash.
authorArt Cancro <ajc@citadel.org>
Sun, 16 Mar 2003 05:07:12 +0000 (05:07 +0000)
committerArt Cancro <ajc@citadel.org>
Sun, 16 Mar 2003 05:07:12 +0000 (05:07 +0000)
citadel/ChangeLog
citadel/serv_calendar.c

index 5f6af59c1b67a3464f59c22e0b7fb22bd5dbdf4e..2ee55241e981252ca29be607413da8e1b31dcb6d 100644 (file)
@@ -1,4 +1,7 @@
  $Log$
+ Revision 605.19  2003/03/16 05:07:12  ajc
+ * Fixed the bug that caused freebusy publishes to crash.
+
  Revision 605.18  2003/03/15 23:05:08  ajc
  * Rewrite of calendar-to-freebusy conversion functions.  This one creates
    freebusy in the correct format, instead of what I mistakenly assumed it
@@ -4559,3 +4562,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import
+
index 9e34633ceafaa3c857f64e1f82e4c14cc39d29fa..464e04cdddcff82658cd9530eeb7def4329a2de0 100644 (file)
@@ -65,6 +65,8 @@ icalcomponent *icalcomponent_new_citadel_vcalendar(void) {
 
        /* Set the Version Number */
        icalcomponent_add_property(encaps, icalproperty_new_version("2.0"));
+
+       return(encaps);
 }
 
 
@@ -1172,8 +1174,11 @@ void ical_freebusy(char *who) {
                NULL, ical_freebusy_backend, (void *)fb
        );
 
-       lprintf(9, "Before encapsulation:\n---------\n%s\n----------\n",
-               icalcomponent_as_ical_string(fb));
+       /* FIXME there are still more fields to be added here before we can
+        * call this finished.  We need a DTSTAMP, and probably the user's
+        * e-mail address as an ORGANIZER, and maybe a few others.  Add them
+        * in this location.
+        */
 
        /* Put the freebusy component into the calendar component */
        lprintf(9, "Encapsulating\n");