diff options
-rw-r--r-- | camel/ChangeLog | 4 | ||||
-rw-r--r-- | camel/providers/imap4/camel-imap4-utils.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 6422ecd063..455c704c5a 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,9 @@ 2004-11-02 Jeffrey Stedfast <fejj@novell.com> + * providers/imap4/camel-imap4-utils.c + (camel_imap4_get_path_delim): If namespaces is NULL, return the + default folder delim ('/'). + * providers/imap4/camel-imap4-stream.c (camel_imap4_stream_literal): Update stream->inptr after fetching the literal chunk. diff --git a/camel/providers/imap4/camel-imap4-utils.c b/camel/providers/imap4/camel-imap4-utils.c index e8f0627ea2..c95438e95a 100644 --- a/camel/providers/imap4/camel-imap4-utils.c +++ b/camel/providers/imap4/camel-imap4-utils.c @@ -144,6 +144,9 @@ camel_imap4_get_path_delim (CamelIMAP4StoreSummary *s, const char *full_name) size_t len; char *top; + if (s->namespaces == NULL) + return '/'; + if ((slash = strchr (full_name, '/'))) len = (slash - full_name); else |