The default namespace is an empty string in IMAP settings
authorMilan Crha <mcrha@redhat.com>
Mon, 9 Jul 2012 14:50:03 +0000 (16:50 +0200)
committerMilan Crha <mcrha@redhat.com>
Mon, 9 Jul 2012 14:51:29 +0000 (16:51 +0200)
camel/providers/imap/camel-imap-settings.c

index 92817bf..def0479 100644 (file)
@@ -632,6 +632,9 @@ camel_imap_settings_init (CamelImapSettings *settings)
 {
        settings->priv = CAMEL_IMAP_SETTINGS_GET_PRIVATE (settings);
        settings->priv->property_lock = g_mutex_new ();
+
+       /* The default namespace is an empty string. */
+       settings->priv->namespace = g_strdup ("");
 }
 
 /**