]> code.citadel.org Git - citadel.git/blobdiff - webcit/ical_dezonify.c
* move serv_info into the session, here we can control its de/allocation the right...
[citadel.git] / webcit / ical_dezonify.c
index 044825592e4d213c0eeda42f6149c55a74eb96b1..ea4b53ece8d458b3291684373343db7dbee054f9 100644 (file)
@@ -21,7 +21,7 @@
 icaltimezone *get_default_icaltimezone(void) {
 
         icaltimezone *zone = NULL;
-       const char *default_zone_name = ChrPtr(serv_info.serv_default_cal_zone);
+       const char *default_zone_name = ChrPtr(WC->serv_info->serv_default_cal_zone);
 
         if (!zone) {
                 zone = icaltimezone_get_builtin_timezone(default_zone_name);