}
return OK;
- } else {
- return NOTOK;
}
+
+ return NOTOK;
}
tzdesc_t
! strcasecmp ("VTIMEZONE", node->value)) {
in_vtimezone = 1;
- timezone = mh_xcalloc (1, sizeof (struct tzdesc));
+ NEW0(timezone);
if (timezones) {
tzdesc_t t;
Form #2: DATE WITH UTC TIME */
if (parse_datetime (node->value, NULL, 0, &tws[0]) == OK) {
return strdup (dasctime (&tws[0], 0));
- } else {
- advise (NULL, "unable to parse datetime %s", node->value);
- return NULL;
}
+ advise (NULL, "unable to parse datetime %s", node->value);
+ return NULL;
}
/*