From 4358994dbe9f50198313e8411dd458899ee8d1a5 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Wed, 17 Jan 2001 15:46:17 +0000 Subject: Check for open error and handled 1-01-17 JP Rosevear * conduits/calendar/calendar-conduit.c (start_calendar_server): Check for open error and handled * conduits/todo/todo-conduit.c (start_calendar_server): ditto svn path=/trunk/; revision=7579 --- calendar/conduits/todo/todo-conduit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'calendar/conduits/todo') diff --git a/calendar/conduits/todo/todo-conduit.c b/calendar/conduits/todo/todo-conduit.c index fe50a7869b..f0dfb56b14 100644 --- a/calendar/conduits/todo/todo-conduit.c +++ b/calendar/conduits/todo/todo-conduit.c @@ -201,7 +201,8 @@ start_calendar_server (EToDoConduitContext *ctxt) start_calendar_server_cb, ctxt); LOG (" calling cal_client_open_calendar\n"); - cal_client_open_calendar (ctxt->client, ctxt->calendar_file, FALSE); + if (!cal_client_open_calendar (ctxt->client, ctxt->calendar_file, FALSE)) + return -1; /* run a sub event loop to turn cal-client's async load notification into a synchronous call */ -- cgit