]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/imap/imap_metadata.c
preserve stringlengths when outputting stuff in the imap module
[citadel.git] / citadel / modules / imap / imap_metadata.c
index 73a2f71a3064b64eaf670ff4ed20dacfdbd2f30a..705448e459f6d5b2ea5f3474d58f8507b372327b 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Copyright (c) 2007-2009 by the citadel.org team
  *
- *  This program is free software; you can redistribute it and/or modify
+ *  This program is open source software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *  the Free Software Foundation; either version 3 of the License, or
  *  (at your option) any later version.
@@ -206,11 +206,13 @@ void imap_getmetadata(int num_parms, ConstStr *Params) {
        int ret;
        int found = 0;
 
+/* this doesn't work if you have rooms/floors with spaces. 
+   we need this for the bynari connector.
        if (num_parms > 5) {
                IReply("BAD usage error");
                return;
        }
-
+*/
        ret = imap_grabroom(roomname, Params[2].Key, 1);
        if (ret != 0) {
                IReply("NO Invalid mailbox name or access denied");