[dovecot-cvs] 
	dovecot/src/imap cmd-list.c,1.27,1.28 cmd-rename.c,1.4,1.5
    cras at procontrol.fi 
    cras at procontrol.fi
       
    Sun Jul 27 09:37:15 EEST 2003
    
        - Previous message: [dovecot-cvs] 
	dovecot/src/imap cmd-namespace.c,NONE,1.1 namespace.c,NONE,1.1
	namespace.h,NONE,1.1 Makefile.am,1.22,1.23 client.c,1.33,1.34
	client.h,1.16,1.17 cmd-append.c,1.28,1.29 cmd-close.c,1.10,1.11
	cmd-copy.c,1.11,1.12 cmd-create.c,1.5,1.6 cmd-delete.c,1.4,1.5
	cmd-expunge.c,1.4,1.5 cmd-fetch.c,1.17,1.18 cmd-idle.c,1.6,1.7
	cmd-list.c,1.26,1.27 cmd-rename.c,1.3,1.4 cmd-search.c,1.16,1.17
	cmd-select.c,1.21,1.22 cmd-sort.c,1.11,1.12 cmd-status.c,1.13,1.14
	cmd-store.c,1.16,1.17 cmd-subscribe.c,1.5,1.6 cmd-thread.c,1.4,1.5
	cmd-unselect.c,1.2,1.3 commands-util.c,1.27,1.28
	commands-util.h,1.12,1.13 commands.c,1.11,1.12 commands.h,1.12,1.13
	main.c,1.41,1.42
- Next message: [dovecot-cvs] dovecot configure.in,1.140,1.141
-  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
  
Update of /home/cvs/dovecot/src/imap
In directory danu:/tmp/cvs-serv15540
Modified Files:
	cmd-list.c cmd-rename.c 
Log Message:
fixes
Index: cmd-list.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap/cmd-list.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- cmd-list.c	27 Jul 2003 04:48:32 -0000	1.27
+++ cmd-list.c	27 Jul 2003 05:37:13 -0000	1.28
@@ -6,6 +6,7 @@
 #include "imap-quote.h"
 #include "imap-match.h"
 #include "commands.h"
+#include "namespace.h"
 
 static const char *mailbox_flags2str(enum mailbox_flags flags, int listext)
 {
@@ -99,9 +100,8 @@
 	char sep_chr, sep[3];
 	int failed, listext;
 
-	storage = client_find_storage(client, "");
-	if (storage == NULL)
-		return TRUE;
+	/* FIXME: really needs some work.. */
+	storage = client->namespaces->storage;
 
 	sep_chr = storage->hierarchy_sep;
 	if (sep_chr == '"' || sep_chr == '\\') {
Index: cmd-rename.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap/cmd-rename.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- cmd-rename.c	27 Jul 2003 04:48:32 -0000	1.4
+++ cmd-rename.c	27 Jul 2003 05:37:13 -0000	1.5
@@ -25,7 +25,7 @@
 
 	if (old_storage != new_storage) {
 		client_send_tagline(client,
-			"NO Can't rename mailbox to another namespace.");
+			"NO Can't rename mailbox to another storage type.");
 		return TRUE;
 	}
 
    
    
        
	- Previous message: [dovecot-cvs] 
	dovecot/src/imap cmd-namespace.c,NONE,1.1 namespace.c,NONE,1.1
	namespace.h,NONE,1.1 Makefile.am,1.22,1.23 client.c,1.33,1.34
	client.h,1.16,1.17 cmd-append.c,1.28,1.29 cmd-close.c,1.10,1.11
	cmd-copy.c,1.11,1.12 cmd-create.c,1.5,1.6 cmd-delete.c,1.4,1.5
	cmd-expunge.c,1.4,1.5 cmd-fetch.c,1.17,1.18 cmd-idle.c,1.6,1.7
	cmd-list.c,1.26,1.27 cmd-rename.c,1.3,1.4 cmd-search.c,1.16,1.17
	cmd-select.c,1.21,1.22 cmd-sort.c,1.11,1.12 cmd-status.c,1.13,1.14
	cmd-store.c,1.16,1.17 cmd-subscribe.c,1.5,1.6 cmd-thread.c,1.4,1.5
	cmd-unselect.c,1.2,1.3 commands-util.c,1.27,1.28
	commands-util.h,1.12,1.13 commands.c,1.11,1.12 commands.h,1.12,1.13
	main.c,1.41,1.42
- Next message: [dovecot-cvs] dovecot configure.in,1.140,1.141
-  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
More information about the dovecot-cvs
mailing list