From cf4811b131d3d791da98de338a477a452663d183 Mon Sep 17 00:00:00 2001 From: Gary Ekker Date: Tue, 16 Mar 2004 23:18:00 +0000 Subject: Fixes #55292 2004-03-17 Gary Ekker Fixes #55292 * gui/e-pub-utils.c (e_pub_publish): fix a crash when trying to publish a NULL component svn path=/trunk/; revision=25095 --- calendar/ChangeLog | 7 +++++++ calendar/gui/e-pub-utils.c | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 9620e37de7..7129c0654c 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2004-03-17 Gary Ekker + + Fixes #55292 + + * gui/e-pub-utils.c (e_pub_publish): fix a crash when trying to + publish a NULL component + 2004-03-16 Rodrigo Moya * gui/dialogs/select-source-dialog.[ch]: new dialog for allowing the diff --git a/calendar/gui/e-pub-utils.c b/calendar/gui/e-pub-utils.c index 2d6cce62ec..f7191c0708 100644 --- a/calendar/gui/e-pub-utils.c +++ b/calendar/gui/e-pub-utils.c @@ -286,8 +286,9 @@ e_pub_publish (gboolean publish) { g_free (source_uid); } - published = itip_publish_comp ((ECal *) client, - uri->location, + if (cloned && clone) + published = itip_publish_comp ((ECal *) client, + uri->location, uri->username, uri->password, &clone); -- cgit v1.2.3