aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/corba-cal.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/corba-cal.c')
-rw-r--r--calendar/corba-cal.c6
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;
}