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 /calendar/gui | |
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
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/e-pub-utils.c | 5 |
1 files changed, 3 insertions, 2 deletions
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); |