Temporary workaround to compile with old libical
authorArt Cancro <ajc@citadel.org>
Thu, 17 Jan 2008 05:19:48 +0000 (05:19 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 17 Jan 2008 05:19:48 +0000 (05:19 +0000)
citadel/user_ops.c
webcit/ical_dezonify.c

index f87045d3f76782edfd5a3378e3962afe29a9be4c..6c16a167a5c410e3c94e5f96b556c544c19fb199 100644 (file)
@@ -359,6 +359,8 @@ int CtdlLoginExistingUser(char *authname, char *trythisname)
        char username[SIZ];
        int found_user;
 
+       lprintf(9, "CtdlLoginExistingUser(%s, %s)\n", authname, trythisname);
+
        if ((CC->logged_in)) {
                return login_already_logged_in;
        }
index 24e8d88c2336e6b2751da82cf095e206f414b4e4..8a0efd1971e80777f6bdd3050c355987b9865564 100644 (file)
@@ -124,7 +124,8 @@ void ical_dezonify_backend(icalcomponent *cal,
                }
 
                if (t == NULL) {
-                       t = icaltimezone_copy(get_default_icaltimezone());
+                       // FIXME t = icaltimezone_copy(get_default_icaltimezone());
+                       t = get_default_icaltimezone();
                }
                icaltimezone_convert_time(&TheTime,
                                          t,