[dovecot-cvs] dovecot/src/imap commands-util.c, 1.38, 1.39 commands-util.h, 1.18, 1.19

cras at dovecot.org cras at dovecot.org
Sun Dec 26 11:18:22 EET 2004


Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv26475

Modified Files:
	commands-util.c commands-util.h 
Log Message:
const fixes



Index: commands-util.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/commands-util.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- commands-util.c	26 Dec 2004 09:12:40 -0000	1.38
+++ commands-util.c	26 Dec 2004 09:18:20 -0000	1.39
@@ -238,7 +238,7 @@
 }
 
 static const char *
-get_keywords_string(const char *keywords[], unsigned int keywords_count)
+get_keywords_string(const char *const keywords[], unsigned int keywords_count)
 {
 	string_t *str;
 	unsigned int i;
@@ -265,7 +265,7 @@
 #define SYSTEM_FLAGS "\\Answered \\Flagged \\Deleted \\Seen \\Draft"
 
 void client_send_mailbox_flags(struct client *client, struct mailbox *box,
-			       const char *keywords[],
+			       const char *const keywords[],
 			       unsigned int keywords_count)
 {
 	const char *str;
@@ -286,7 +286,8 @@
 }
 
 void client_save_keywords(struct mailbox_keywords *dest,
-			  const char *keywords[], unsigned int keywords_count)
+			  const char *const keywords[],
+			  unsigned int keywords_count)
 {
 	unsigned int i;
 

Index: commands-util.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/commands-util.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- commands-util.h	26 Dec 2004 09:12:40 -0000	1.18
+++ commands-util.h	26 Dec 2004 09:18:20 -0000	1.19
@@ -42,7 +42,7 @@
 
 /* Send FLAGS + PERMANENTFLAGS to client. */
 void client_send_mailbox_flags(struct client *client, struct mailbox *box,
-			       const char *keywords[],
+			       const char *const keywords[],
 			       unsigned int keywords_count);
 
 /* Copy keywords into dest. dest must have been initialized. */



More information about the dovecot-cvs mailing list