libical_errors_are_fatal is now opaque. Change to a call to icalerror_set_errors_are...
[citadel.git] / citadel / modules / calendar / serv_calendar.c
index f727a5555d3a387a591ca8826d4e37b52ca3a5a6..5fc4bffc41d9c782e5edc150a36de194b6d351a5 100644 (file)
@@ -2580,7 +2580,8 @@ CTDL_MODULE_INIT(calendar)
        {
 
                /* Tell libical to return errors instead of aborting if it gets bad data */
-               icalerror_errors_are_fatal = 0;
+               // icalerror_errors_are_fatal = 0; (this was the old way)
+               icalerror_set_errors_are_fatal(0);
 
                /* Use our own application prefix in tzid's generated from system tzdata */
                icaltimezone_set_tzid_prefix("/citadel.org/");