aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/cal.c')
-rw-r--r--calendar/cal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/cal.c b/calendar/cal.c
index 1403c2c028..1ce1d91716 100644
--- a/calendar/cal.c
+++ b/calendar/cal.c
@@ -182,7 +182,7 @@ Cal_get_object (PortableServer_Servant servant,
calobj = cal_backend_get_object (priv->backend, uid);
- if (uid) {
+ if (calobj) {
CORBA_char *calobj_copy;
calobj_copy = CORBA_string_dup (calobj);