diff options
author | Eskil Heyn Olsen <eskil@src.gnome.org> | 1999-09-15 16:38:05 +0800 |
---|---|---|
committer | Eskil Heyn Olsen <eskil@src.gnome.org> | 1999-09-15 16:38:05 +0800 |
commit | 7251a2d2bc2274529e1ddd1d5a3c04771cc86113 (patch) | |
tree | 4025e73707c00c36ec022b56c989810d7e523dd2 /calendar/corba-cal.c | |
parent | 0a765ba73162b2d162de1d1fc697c9586491ef00 (diff) | |
download | gsoc2013-evolution-7251a2d2bc2274529e1ddd1d5a3c04771cc86113.tar gsoc2013-evolution-7251a2d2bc2274529e1ddd1d5a3c04771cc86113.tar.gz gsoc2013-evolution-7251a2d2bc2274529e1ddd1d5a3c04771cc86113.tar.bz2 gsoc2013-evolution-7251a2d2bc2274529e1ddd1d5a3c04771cc86113.tar.lz gsoc2013-evolution-7251a2d2bc2274529e1ddd1d5a3c04771cc86113.tar.xz gsoc2013-evolution-7251a2d2bc2274529e1ddd1d5a3c04771cc86113.tar.zst gsoc2013-evolution-7251a2d2bc2274529e1ddd1d5a3c04771cc86113.zip |
added sources to calendar-conduit
* gncal/Makefile.am: added sources to calendar-conduit
* gncal/calendar-conduit.c: imported Miguels update_record
function
* gncal/corba-cal.c: fixed a grave bug in exception throwing,
which cause ORBit to sigsegv.
svn path=/trunk/; revision=1229
Diffstat (limited to 'calendar/corba-cal.c')
-rw-r--r-- | calendar/corba-cal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/corba-cal.c b/calendar/corba-cal.c index 3e95571f6c..6b4566dc06 100644 --- a/calendar/corba-cal.c +++ b/calendar/corba-cal.c @@ -79,12 +79,12 @@ cal_repo_get_object_by_pilot_id (PortableServer_Servant servant, iCalObject *obj; char *buffer; CORBA_char *ret; - + obj = calendar_object_find_by_pilot (gcal->cal, pilot_id); if (obj == NULL){ CORBA_exception_set (ev, CORBA_USER_EXCEPTION, - ex_GNOME_Calendar_Repository_NotFound, ""); + ex_GNOME_Calendar_Repository_NotFound, NULL); return NULL; } @@ -108,7 +108,7 @@ cal_repo_get_id_from_pilot_id (PortableServer_Servant servant, if (obj == NULL){ CORBA_exception_set (ev, CORBA_USER_EXCEPTION, - ex_GNOME_Calendar_Repository_NotFound, ""); + ex_GNOME_Calendar_Repository_NotFound, NULL); return NULL; } |