diff options
-rw-r--r-- | libical/ChangeLog | 5 | ||||
-rw-r--r-- | libical/src/libical/icalcomponent.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libical/ChangeLog b/libical/ChangeLog index fad93e3f52..e5bce01c3e 100644 --- a/libical/ChangeLog +++ b/libical/ChangeLog @@ -1,3 +1,8 @@ +2001-07-26 JP Rosevear <jpr@ximian.com> + + * src/libical/icalcomponent.c (icalcomponent_begin_component): + call pvl_next on i rather than itr.iter + 2001-07-26 Damon Chaplin <damon@ximian.com> * src/libical/icaltimezone.c (icaltimezone_convert_time): if from_zone diff --git a/libical/src/libical/icalcomponent.c b/libical/src/libical/icalcomponent.c index fa97c59f9c..a4f0ad7c7f 100644 --- a/libical/src/libical/icalcomponent.c +++ b/libical/src/libical/icalcomponent.c @@ -1097,7 +1097,7 @@ icalcomponent_begin_component(icalcomponent* component,icalcomponent_kind kind) icalerror_check_arg_re( (component!=0),"component",icalcompiter_null); - for( i = pvl_head(impl->components); i != 0; i = pvl_next(itr.iter)) { + for( i = pvl_head(impl->components); i != 0; i = pvl_next(i)) { icalcomponent *c = (icalcomponent*) pvl_data(i); |