]> code.citadel.org Git - citadel.git/blobdiff - webcit/ical_subst.c
* clean up warnings, especialy on 64 bit
[citadel.git] / webcit / ical_subst.c
index 8d44830fea2aececc8dac3b87d48887b73b5bd8f..5d6259d88dd81bcdc51b2f45b8a091a1a1767670 100644 (file)
@@ -58,7 +58,7 @@ void SortPregetMatter(HashList *Cals)
                while ((SortMap[i] != NULL) && 
                       (Cal->SortBy != NULL)) 
                {
-                       Cal->SortBy = icalcomponent_get_first_property(Cal->SortBy, SortMap[i++]->map);
+                       /****Cal->SortBy = icalcomponent_get_first_property(Cal->SortBy, SortMap[i++]->map); */
                }
        }
        
@@ -82,6 +82,7 @@ void CreateIcalComponendKindLookup(void)
                           0, 
                           10, 
                           tmplput_ICalItem,
+                          NULL, 
                           CTX_ICAL);
                Put(IcalComponentMap, 
                    icalproperty_kind_map[i].Name, 
@@ -116,3 +117,10 @@ InitModule_ICAL_SUBST
        CreateIcalComponendKindLookup ();
 
 }
+
+void 
+ServerShutdownModule_ICAL
+(void)
+{
+       DeleteHash(&IcalComponentMap);
+}