aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/exchange-operations/exchange-operations.c
diff options
context:
space:
mode:
authorSushma Rai <rsushma@src.gnome.org>2006-04-07 00:36:22 +0800
committerSushma Rai <rsushma@src.gnome.org>2006-04-07 00:36:22 +0800
commit9d82014a943e687782d046a4276a0cb6d2a8503c (patch)
tree64f66949758fdd16801a57187a72f28e938a7069 /plugins/exchange-operations/exchange-operations.c
parentd9756961e7535fbb00fa9349a27183e9975a2f04 (diff)
downloadgsoc2013-evolution-9d82014a943e687782d046a4276a0cb6d2a8503c.tar
gsoc2013-evolution-9d82014a943e687782d046a4276a0cb6d2a8503c.tar.gz
gsoc2013-evolution-9d82014a943e687782d046a4276a0cb6d2a8503c.tar.bz2
gsoc2013-evolution-9d82014a943e687782d046a4276a0cb6d2a8503c.tar.lz
gsoc2013-evolution-9d82014a943e687782d046a4276a0cb6d2a8503c.tar.xz
gsoc2013-evolution-9d82014a943e687782d046a4276a0cb6d2a8503c.tar.zst
gsoc2013-evolution-9d82014a943e687782d046a4276a0cb6d2a8503c.zip
Corrected the rename folder operation and also not allowing the rename
of standard folders. Fixes #310433. svn path=/trunk/; revision=31780
Diffstat (limited to 'plugins/exchange-operations/exchange-operations.c')
-rw-r--r--plugins/exchange-operations/exchange-operations.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/exchange-operations/exchange-operations.c b/plugins/exchange-operations/exchange-operations.c
index 166fba4b11..86d1830388 100644
--- a/plugins/exchange-operations/exchange-operations.c
+++ b/plugins/exchange-operations/exchange-operations.c
@@ -269,7 +269,7 @@ void exchange_operations_update_child_esources (ESource *source, const gchar *ol
for (tsource = sources; tsource != NULL; tsource = tsource->next) {
gchar *ruri;
ruri = (gchar*) e_source_peek_relative_uri (tsource->data);
- if (g_strrstr (ruri, old_path)) {
+ if (ruri && g_strrstr (ruri, old_path)) {
/* This ESource points to one of the child folders */
gchar **tmpv, *truri;
/* A nasty search and replace */