It's fine for it to be NIL and has been seen in wild:
[imapx:A] camel_imapx_write: 'A00004 NAMESPACE
...
[imapx:A] camel_imapx_read: buffer is '* NAMESPACE (("" NIL)) NIL NIL
...
[imapx:A] camel_imapx_write: 'A00005 LIST "" "*"
...
[imapx:A] camel_imapx_read: buffer is '* LIST (\HasNoChildren \NoInferiors) NIL
"INBOX"
...
Signed-off-by: Lubomir Rintel <[email protected]>
Cc: Matthew Barnes <[email protected]>
Cc: Milan Crha <[email protected]>
---
This has been tested with MUNI IMAP server along with:
Subject: [PATCH evolution-data-server] imapx: Treat BODY[HEADER] as equivalent
to RFC822.HEADER
Date: Sun, 29 Dec 2013 21:10:57 +0100
Message-id: <[email protected]>
camel/providers/imapx/camel-imapx-namespace.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/camel/providers/imapx/camel-imapx-namespace.c
b/camel/providers/imapx/camel-imapx-namespace.c
index c86165b..c924d39 100644
--- a/camel/providers/imapx/camel-imapx-namespace.c
+++ b/camel/providers/imapx/camel-imapx-namespace.c
@@ -93,7 +93,6 @@ camel_imapx_namespace_new (CamelIMAPXNamespaceCategory
category,
CamelIMAPXNamespace *namespace;
g_return_val_if_fail (prefix != NULL, NULL);
- g_return_val_if_fail (separator != '\0', NULL);
/* Not bothering with GObject properties for this class. */
--
1.8.4.2
_______________________________________________
evolution-hackers mailing list
[email protected]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-hackers