aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/itip-formatter
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2007-08-21 19:17:57 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2007-08-21 19:17:57 +0800
commita5c73aaa9a67136deef137c6f3b30e469ce0dd89 (patch)
tree6b56fda59348d78f56085f17699b9a0fa8e0b53b /plugins/itip-formatter
parent0433b4a44a8fccaa66ccfcfe4dcd2fb71b7eb3de (diff)
downloadgsoc2013-evolution-a5c73aaa9a67136deef137c6f3b30e469ce0dd89.tar
gsoc2013-evolution-a5c73aaa9a67136deef137c6f3b30e469ce0dd89.tar.gz
gsoc2013-evolution-a5c73aaa9a67136deef137c6f3b30e469ce0dd89.tar.bz2
gsoc2013-evolution-a5c73aaa9a67136deef137c6f3b30e469ce0dd89.tar.lz
gsoc2013-evolution-a5c73aaa9a67136deef137c6f3b30e469ce0dd89.tar.xz
gsoc2013-evolution-a5c73aaa9a67136deef137c6f3b30e469ce0dd89.tar.zst
gsoc2013-evolution-a5c73aaa9a67136deef137c6f3b30e469ce0dd89.zip
Fixes #301835 (bnc)
svn path=/trunk/; revision=34053
Diffstat (limited to 'plugins/itip-formatter')
-rw-r--r--plugins/itip-formatter/ChangeLog7
-rw-r--r--plugins/itip-formatter/itip-formatter.c9
2 files changed, 12 insertions, 4 deletions
diff --git a/plugins/itip-formatter/ChangeLog b/plugins/itip-formatter/ChangeLog
index 5394bc2148..acff351299 100644
--- a/plugins/itip-formatter/ChangeLog
+++ b/plugins/itip-formatter/ChangeLog
@@ -1,3 +1,10 @@
+2007-08-21 Suman Manjunath <msuman@novell.com>
+
+ ** Fix for bug #301835 (BNC)
+
+ * itip-formatter.c: (find_from_address):
+ Fixed crash when no SENTBY parameter present.
+
2007-08-06 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #460326
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c
index 6e85300a3d..ab5b8a6399 100644
--- a/plugins/itip-formatter/itip-formatter.c
+++ b/plugins/itip-formatter/itip-formatter.c
@@ -307,11 +307,12 @@ find_from_address (FormatItipPObject *pitip, icalcomponent *ical_comp)
}
param = icalproperty_get_first_parameter (prop, ICAL_SENTBY_PARAMETER);
- if (param)
+ if (param) {
organizer_sentby = icalparameter_get_sentby (param);
- if (organizer_sentby) {
- organizer_sentby_clean = g_strdup (itip_strip_mailto (organizer_sentby));
- organizer_sentby_clean = g_strstrip (organizer_sentby_clean);
+ if (organizer_sentby) {
+ organizer_sentby_clean = g_strdup (itip_strip_mailto (organizer_sentby));
+ organizer_sentby_clean = g_strstrip (organizer_sentby_clean);
+ }
}
if (!(organizer_sentby_clean || organizer_clean))