$Log$
+Revision 400.70 2002/12/25 23:18:06 ajc
+* Be more strategic about when to call ical_dezonify()
+ (This may be the last set of fixes. I hope so.)
+
Revision 400.69 2002/12/25 21:39:38 ajc
* ical_dezonify.c: added.
* calendar.c: convert incoming ical messages to UTC
1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
* webserver.c: warning fix
-
if (the_method == ICAL_METHOD_REQUEST) {
/* Check for conflicts */
+ lprintf(9, "Checking server calendar for conflicts...\n");
serv_printf("ICAL conflicts|%ld|%s|", msgnum, cal_partnum);
serv_gets(buf);
if (buf[0] == '1') {
"</TD></TR>\n");
}
}
+ lprintf(9, "...done.\n");
/* Display the Accept/Decline buttons */
wprintf("<TR><TD COLSPAN=2>"
/* Hunt for a TZID parameter in this property. */
param = icalproperty_get_first_parameter(prop, ICAL_TZID_PARAMETER);
- if (param == NULL) {
- printf("No tzid parameter found - "
- "perhaps this component is already UTC?\n");
- return;
- }
+ if (param == NULL) return;
/* Get the stringish name of this TZID. */
tzid = icalparameter_get_tzid(param);
- if (tzid == NULL) {
- printf("icalparameter_get_tzid() returned NULL\n");
- return;
- }
+ if (tzid == NULL) return;
/* Convert it to an icaltimezone type. */
t = icalcomponent_get_timezone(cal, tzid);
- if (t == NULL) {
- printf("icalcomponent_get_timezone(%s) returned NULL\n", tzid);
- }
+ if (t == NULL) return;
/* Now we know the timezone. Convert to UTC. */