aboutsummaryrefslogtreecommitdiffstats
path: root/libical/src
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2002-10-17 05:41:39 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2002-10-17 05:41:39 +0800
commitdcfed36441f2a937ee8ae1f604b7d1f0a5bc5719 (patch)
treef3aa34a5aa32aea1cd9d370ca3bb894dac64123a /libical/src
parent19ebd1a8475274e074a3fad27dcf326a162bc1ff (diff)
downloadgsoc2013-evolution-dcfed36441f2a937ee8ae1f604b7d1f0a5bc5719.tar
gsoc2013-evolution-dcfed36441f2a937ee8ae1f604b7d1f0a5bc5719.tar.gz
gsoc2013-evolution-dcfed36441f2a937ee8ae1f604b7d1f0a5bc5719.tar.bz2
gsoc2013-evolution-dcfed36441f2a937ee8ae1f604b7d1f0a5bc5719.tar.lz
gsoc2013-evolution-dcfed36441f2a937ee8ae1f604b7d1f0a5bc5719.tar.xz
gsoc2013-evolution-dcfed36441f2a937ee8ae1f604b7d1f0a5bc5719.tar.zst
gsoc2013-evolution-dcfed36441f2a937ee8ae1f604b7d1f0a5bc5719.zip
Fixes #25153
2002-10-15 Rodrigo Moya <rodrigo@ximian.com> Fixes #25153 * scripts/mkderivedvalues.pl: changed the _get functions for string values to return a NULL if arguments are wrong * src/libical/icalderivedvalue.c.in (icalvalue_get_x): return from function if pointer checking fails. svn path=/trunk/; revision=18378
Diffstat (limited to 'libical/src')
-rw-r--r--libical/src/libical/icalderivedvalue.c.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/libical/src/libical/icalderivedvalue.c.in b/libical/src/libical/icalderivedvalue.c.in
index 8dac43a788..3c4e73066b 100644
--- a/libical/src/libical/icalderivedvalue.c.in
+++ b/libical/src/libical/icalderivedvalue.c.in
@@ -3,7 +3,7 @@
FILE: icalvalue.c
CREATOR: eric 02 May 1999
- $Id: icalderivedvalue.c.in,v 1.2 2001/09/10 21:54:44 federico Exp $
+ $Id: icalderivedvalue.c.in,v 1.3 2002/10/16 21:41:39 rodrigo Exp $
(C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
@@ -113,7 +113,7 @@ void icalvalue_set_x(icalvalue* value, const char* v) {
}
const char* icalvalue_get_x(icalvalue* value) {
- icalerror_check_arg( (value!=0),"value");
+ icalerror_check_arg_rz( (value!=0),"value");
icalerror_check_value_type(value, ICAL_X_VALUE);
return ((struct icalvalue_impl*)value)->x_value;
}