From 07e48b1c42e824f094d87e64017d466d9886c570 Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Fri, 25 Aug 2000 15:30:44 +0000 Subject: Compile fix for libical svn path=/trunk/; revision=5034 --- libical/ChangeLog | 6 ++++++ libical/src/libical/icalcomponent.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'libical') 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 + + * 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 * 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)) { -- cgit v1.2.3