Commit 50979073 50979073a80a6a993c8824d32ad6ebf1e4a72e63 by Sergey Poznyakoff

Bugfix

* imap4d/namespace.c (namespace_init): Provide record for default
"" prefix.
1 parent 154c67f4
...@@ -141,6 +141,7 @@ namespace_init (void) ...@@ -141,6 +141,7 @@ namespace_init (void)
141 pfx->prefix = mu_strdup (""); 141 pfx->prefix = mu_strdup ("");
142 pfx->dir = mu_strdup ("$home"); 142 pfx->dir = mu_strdup ("$home");
143 pfx->delim = '/'; 143 pfx->delim = '/';
144 mu_registrar_get_default_record (&pfx->record);
144 priv = namespace_lookup ("personal"); 145 priv = namespace_lookup ("personal");
145 mu_list_prepend (priv->prefixes, pfx); 146 mu_list_prepend (priv->prefixes, pfx);
146 rc = mu_assoc_install (prefixes, pfx->prefix, pfx); 147 rc = mu_assoc_install (prefixes, pfx->prefix, pfx);
......