When I wrote this stuff I had a 109 column screen. Now our standard
is 132 columns. Also we are seeking and destroying any place where
spaces were used as indentation. Our code is indented with tabs, the
way God intended.
// recurse through subcomponents until we find one.
if (icalcomponent_isa(event) != ICAL_VEVENT_COMPONENT) {
for (c = icalcomponent_get_first_component(event, ICAL_VEVENT_COMPONENT);
// recurse through subcomponents until we find one.
if (icalcomponent_isa(event) != ICAL_VEVENT_COMPONENT) {
for (c = icalcomponent_get_first_component(event, ICAL_VEVENT_COMPONENT);
- c != NULL;
- c = icalcomponent_get_next_component(event, ICAL_VEVENT_COMPONENT) ) {
+ c != NULL;
+ c = icalcomponent_get_next_component(event, ICAL_VEVENT_COMPONENT)
+ ) {
ical_merge_attendee_reply(c, reply);
}
return;
ical_merge_attendee_reply(c, reply);
}
return;
// Now do the same thing with the reply.
if (icalcomponent_isa(reply) != ICAL_VEVENT_COMPONENT) {
for (c = icalcomponent_get_first_component(reply, ICAL_VEVENT_COMPONENT);
// Now do the same thing with the reply.
if (icalcomponent_isa(reply) != ICAL_VEVENT_COMPONENT) {
for (c = icalcomponent_get_first_component(reply, ICAL_VEVENT_COMPONENT);
- c != NULL;
- c = icalcomponent_get_next_component(reply, ICAL_VEVENT_COMPONENT) ) {
+ c != NULL;
+ c = icalcomponent_get_next_component(reply, ICAL_VEVENT_COMPONENT)
+ ) {
ical_merge_attendee_reply(event, c);
}
return;
ical_merge_attendee_reply(event, c);
}
return;
e = icalproperty_get_attendee(e_attendee);
r = icalproperty_get_attendee(r_attendee);
e = icalproperty_get_attendee(e_attendee);
r = icalproperty_get_attendee(r_attendee);
- if ((e != NULL) &&
- (r != NULL) &&
- !strcasecmp(e, r)) {
+ if ((e != NULL) && (r != NULL) && !strcasecmp(e, r)) {
// ...and if they do, remove the attendee from the event
// and replace it with the attendee from the reply. (The
// reply's copy will have the same address, but an updated
// ...and if they do, remove the attendee from the event
// and replace it with the attendee from the reply. (The
// reply's copy will have the same address, but an updated