aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers/imap/camel-imap-utils.c')
-rw-r--r--camel/providers/imap/camel-imap-utils.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/camel/providers/imap/camel-imap-utils.c b/camel/providers/imap/camel-imap-utils.c
index 648201891b..c440d6c165 100644
--- a/camel/providers/imap/camel-imap-utils.c
+++ b/camel/providers/imap/camel-imap-utils.c
@@ -428,19 +428,20 @@ stresexptree (ESExpTerm *node)
if (str) {
if (r_str) {
if (l_str)
- node_str = g_strdup_printf ("(%s (%s)) %s", str, r_str, l_str);
+ node_str = g_strdup_printf ("%s %s %s", str, r_str, l_str);
else
- node_str = g_strdup_printf ("(%s %s)", str, r_str);
+ node_str = g_strdup_printf ("%s %s", str, r_str);
} else {
if (l_str)
- node_str = g_strdup_printf ("(%s) %s", str, l_str);
+ node_str = g_strdup_printf ("%s %s", str, l_str);
else
- node_str = g_strdup_printf ("(%s)", str);
+ node_str = g_strdup_printf ("%s", str);
}
} else {
+
if (r_str) {
if (l_str)
- node_str = g_strdup_printf ("(%s) %s", r_str, l_str);
+ node_str = g_strdup_printf ("%s %s", r_str, l_str);
else
node_str = g_strdup_printf ("%s", r_str);
} else {