diff options
author | Peter Williams <peterw@src.gnome.org> | 2000-08-25 23:30:44 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2000-08-25 23:30:44 +0800 |
commit | 07e48b1c42e824f094d87e64017d466d9886c570 (patch) | |
tree | 25ebcafbe661266d959a1151739baa7ec1c96fe2 | |
parent | 07052702e460c9739ab71fd11e3101feb012c55f (diff) | |
download | gsoc2013-evolution-07e48b1c42e824f094d87e64017d466d9886c570.tar gsoc2013-evolution-07e48b1c42e824f094d87e64017d466d9886c570.tar.gz gsoc2013-evolution-07e48b1c42e824f094d87e64017d466d9886c570.tar.bz2 gsoc2013-evolution-07e48b1c42e824f094d87e64017d466d9886c570.tar.lz gsoc2013-evolution-07e48b1c42e824f094d87e64017d466d9886c570.tar.xz gsoc2013-evolution-07e48b1c42e824f094d87e64017d466d9886c570.tar.zst gsoc2013-evolution-07e48b1c42e824f094d87e64017d466d9886c570.zip |
Compile fix for libical
svn path=/trunk/; revision=5034
-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)) { |