From 11198e3e269225589650e27c8bbd3d219dac2c9b Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Fri, 27 Jul 2001 00:03:55 +0000 Subject: call pvl_next on i rather than itr.iter 2001-07-26 JP Rosevear * src/libical/icalcomponent.c (icalcomponent_begin_component): call pvl_next on i rather than itr.iter svn path=/trunk/; revision=11439 --- libical/ChangeLog | 5 +++++ libical/src/libical/icalcomponent.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'libical') 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 + + * src/libical/icalcomponent.c (icalcomponent_begin_component): + call pvl_next on i rather than itr.iter + 2001-07-26 Damon Chaplin * 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); -- cgit