[dovecot-cvs] dovecot/src/auth db-ldap.c, 1.38, 1.39 db-sql.c, 1.5, 1.6

cras at dovecot.org cras at dovecot.org
Thu Jan 19 21:29:01 EET 2006


Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv21836/src/auth

Modified Files:
	db-ldap.c db-sql.c 
Log Message:
Settings' default listing wasn't ended properly, which could have caused
dovecot-auth to crash at startup (depending on used compiler).



Index: db-ldap.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/db-ldap.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- db-ldap.c	18 Jan 2006 16:53:20 -0000	1.38
+++ db-ldap.c	19 Jan 2006 19:28:59 -0000	1.39
@@ -45,7 +45,9 @@
 	DEF(SET_STR, pass_filter),
 	DEF(SET_STR, default_pass_scheme),
 	DEF(SET_STR, user_global_uid),
-	DEF(SET_STR, user_global_gid)
+	DEF(SET_STR, user_global_gid),
+
+	{ 0, NULL, 0 }
 };
 
 struct ldap_settings default_ldap_settings = {

Index: db-sql.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/db-sql.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- db-sql.c	18 Jan 2006 16:53:20 -0000	1.5
+++ db-sql.c	19 Jan 2006 19:28:59 -0000	1.6
@@ -17,7 +17,9 @@
 	DEF(SET_STR, connect),
 	DEF(SET_STR, password_query),
 	DEF(SET_STR, user_query),
-	DEF(SET_STR, default_pass_scheme)
+	DEF(SET_STR, default_pass_scheme),
+
+	{ 0, NULL, 0 }
 };
 
 struct sql_settings default_sql_settings = {



More information about the dovecot-cvs mailing list