diff options
author | Gary Ekker <gekker@novell.com> | 2004-03-17 07:18:00 +0800 |
---|---|---|
committer | Gary Ekker <gekker@src.gnome.org> | 2004-03-17 07:18:00 +0800 |
commit | cf4811b131d3d791da98de338a477a452663d183 (patch) | |
tree | 576a57d573b7f29102aaa5a6bccbc2ff6ded62e8 | |
parent | b036a0df45473a69635b72f71341bc5d4f3deb5e (diff) | |
download | gsoc2013-evolution-cf4811b131d3d791da98de338a477a452663d183.tar.gz gsoc2013-evolution-cf4811b131d3d791da98de338a477a452663d183.tar.zst gsoc2013-evolution-cf4811b131d3d791da98de338a477a452663d183.zip |
Fixes #55292
2004-03-17 Gary Ekker <gekker@novell.com>
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
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | 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 <gekker@novell.com> + + 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 <rodrigo@ximian.com> * 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); |