diff options
author | JP Rosevear <jpr@ximian.com> | 2001-01-17 23:46:17 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-01-17 23:46:17 +0800 |
commit | 4358994dbe9f50198313e8411dd458899ee8d1a5 (patch) | |
tree | cf7349bdaeebc69df1072e1f1e212ad4f66e1b6c /calendar/conduits/calendar | |
parent | ac6e2ee7ef2921c5c42fce4cd44d733f4f55e440 (diff) | |
download | gsoc2013-evolution-4358994dbe9f50198313e8411dd458899ee8d1a5.tar gsoc2013-evolution-4358994dbe9f50198313e8411dd458899ee8d1a5.tar.gz gsoc2013-evolution-4358994dbe9f50198313e8411dd458899ee8d1a5.tar.bz2 gsoc2013-evolution-4358994dbe9f50198313e8411dd458899ee8d1a5.tar.lz gsoc2013-evolution-4358994dbe9f50198313e8411dd458899ee8d1a5.tar.xz gsoc2013-evolution-4358994dbe9f50198313e8411dd458899ee8d1a5.tar.zst gsoc2013-evolution-4358994dbe9f50198313e8411dd458899ee8d1a5.zip |
Check for open error and handled
1-01-17 JP Rosevear <jpr@ximian.com>
* 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
Diffstat (limited to 'calendar/conduits/calendar')
-rw-r--r-- | calendar/conduits/calendar/calendar-conduit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/conduits/calendar/calendar-conduit.c b/calendar/conduits/calendar/calendar-conduit.c index 0ed563b574..868d7bddd7 100644 --- a/calendar/conduits/calendar/calendar-conduit.c +++ b/calendar/conduits/calendar/calendar-conduit.c @@ -197,7 +197,8 @@ start_calendar_server (ECalConduitContext *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 */ |