diff options
-rw-r--r-- | libical/ChangeLog | 6 | ||||
-rw-r--r-- | libical/src/libical/icalcomponent.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/libical/ChangeLog b/libical/ChangeLog index 0db81ea4d2..8efe72801f 100644 --- a/libical/ChangeLog +++ b/libical/ChangeLog @@ -1,3 +1,9 @@ +2000-08-25 Peter Williams <peterw@helixcode.com> + + * src/libical/icalcomponent.c (icalcomponent_end_component): Compile fix; + use icalerror_check_arg_re so we can return an valid icalcompiter. + (icalcomponent_begin_component): Same. + 2000-08-24 JP Rosevear <jpr@helixcode.com> * src/libical/icalvcal.h: Remove this duplicate file to fix build diff --git a/libical/src/libical/icalcomponent.c b/libical/src/libical/icalcomponent.c index 52c2088140..b204f25282 100644 --- a/libical/src/libical/icalcomponent.c +++ b/libical/src/libical/icalcomponent.c @@ -826,7 +826,7 @@ icalcomponent_begin_component(icalcomponent* component,icalcomponent_kind kind) itr.kind = kind; - icalerror_check_arg_rz( (component!=0),"component"); + icalerror_check_arg_re( (component!=0),"component",icalcompiter_null); for( i = pvl_head(impl->components); i != 0; i = pvl_next(itr.iter)) { @@ -852,7 +852,7 @@ icalcomponent_end_component(icalcomponent* component,icalcomponent_kind kind) itr.kind = kind; - icalerror_check_arg_rz( (component!=0),"component"); + icalerror_check_arg_re( (component!=0),"component",icalcompiter_null); for( i = pvl_tail(impl->components); i != 0; i = pvl_prior(i)) { |