aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/itip-formatter/itip-formatter.c
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/itip-formatter.c
parent0433b4a44a8fccaa66ccfcfe4dcd2fb71b7eb3de (diff)
downloadgsoc2013-evolution-a5c73aaa9a67136deef137c6f3b30e469ce0dd89.tar.gz
gsoc2013-evolution-a5c73aaa9a67136deef137c6f3b30e469ce0dd89.tar.zst
gsoc2013-evolution-a5c73aaa9a67136deef137c6f3b30e469ce0dd89.zip
Fixes #301835 (bnc)
svn path=/trunk/; revision=34053
Diffstat (limited to 'plugins/itip-formatter/itip-formatter.c')
-rw-r--r--plugins/itip-formatter/itip-formatter.c9
1 files changed, 5 insertions, 4 deletions
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))