[dovecot-cvs] dovecot/src/master mail-process.c,1.36,1.37 master-settings.h,1.20,1.21

cras at procontrol.fi cras at procontrol.fi
Mon Sep 15 18:02:09 EEST 2003


Update of /home/cvs/dovecot/src/master
In directory danu:/tmp/cvs-serv32491/master

Modified Files:
	mail-process.c master-settings.h 
Log Message:
Added hidden-option to namespaces to hide them from NAMESPACE reply.



Index: mail-process.c
===================================================================
RCS file: /home/cvs/dovecot/src/master/mail-process.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- mail-process.c	15 Sep 2003 13:59:08 -0000	1.36
+++ mail-process.c	15 Sep 2003 14:02:07 -0000	1.37
@@ -139,6 +139,8 @@
 		}
 		if (ns->inbox)
 			env_put(t_strdup_printf("NAMESPACE_%u_INBOX=1", i));
+		if (ns->hidden)
+			env_put(t_strdup_printf("NAMESPACE_%u_HIDDEN=1", i));
 		t_pop();
 	}
 }

Index: master-settings.h
===================================================================
RCS file: /home/cvs/dovecot/src/master/master-settings.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- master-settings.h	6 Sep 2003 17:44:51 -0000	1.20
+++ master-settings.h	15 Sep 2003 14:02:07 -0000	1.21
@@ -122,6 +122,7 @@
 	const char *location;
 
 	int inbox;
+	int hidden;
 };
 
 struct server_settings {



More information about the dovecot-cvs mailing list