/*
* Figure out which time zone needs to be used for timestamps that are
* not UTC and do not have a time zone specified.
- *
- * FIXME - most sites are not in New York :)
*/
-icaltimezone *get_default_icaltimezone(void) {
-
+icaltimezone *get_default_icaltimezone(void)
+{
icaltimezone *zone = NULL;
-/*
- This doesn't even belong here.
- I'm just keeping it here until I put it somewhere permanent.
-
- icalarray *zones;
- int i;
- zones = icaltimezone_get_builtin_timezones();
- for (i = 0; i < zones->num_elements; i++) {
- lprintf(CTDL_DEBUG, "%s\n", icaltimezone_get_location(icalarray_element_at(zones, i)));
- }
- */
-
if (!zone) {
zone = icaltimezone_get_builtin_timezone(config.c_default_cal_zone);
}
*/
void ical_dezonify_backend(icalcomponent *cal,
icalcomponent *rcal,
- icalproperty *prop) {
+ icalproperty *prop)
+{
icaltimezone *t = NULL;
icalparameter *param;
/*
* Load a specific part of a message into the temp file to be output to a
* client. FIXME we can handle parts like "2" and "2.1" and even "2.MIME"
- * but we still can't handle "2.HEADER" (which might not be a problem, because
- * we currently don't have the ability to break out nested RFC822's anyway).
+ * but we still can't handle "2.HEADER" (which might not be a problem).
*
* Note: mime_parser() was called with dont_decode set to 1, so we have the
* luxury of simply spewing without having to re-encode.
else {
lprintf(CTDL_ALERT, "Invalid token %d !!\n", tok);
}
-
- /* FIXME do we need to unlock the file here? */
}
free(tokens);
irl->irl_newfloor);
if (r != crr_ok) {
/* FIXME handle error returns better */
- lprintf(CTDL_ERR, "CtdlRenameRoom() error %d\n",
- r);
+ lprintf(CTDL_ERR, "CtdlRenameRoom() error %d\n", r);
}
irlp = irl;
irl = irl->next;
if (!mx_port[0]) {
strcpy(mx_port, "25");
}
- /* lprintf(CTDL_DEBUG, "FIXME user<%s> pass<%s> host<%s> port<%s>\n",
- mx_user, mx_pass, mx_host, mx_port); */
lprintf(CTDL_DEBUG, "Trying %s : %s ...\n", mx_host, mx_port);
sock = sock_connect(mx_host, mx_port, "tcp");
snprintf(dsn, SIZ, "Could not connect: %s", strerror(errno));