dovecot-2.0: imap, pop3: Fixed assert-crash on exit.

dovecot at dovecot.org dovecot at dovecot.org
Tue May 26 10:16:05 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/315a480f9942
changeset: 9381:315a480f9942
user:      Timo Sirainen <tss at iki.fi>
date:      Tue May 26 03:15:59 2009 -0400
description:
imap, pop3: Fixed assert-crash on exit.

diffstat:

2 files changed, 4 insertions(+), 2 deletions(-)
src/imap/main.c |    3 ++-
src/pop3/main.c |    3 ++-

diffs (26 lines):

diff -r 976a4c9ca6b6 -r 315a480f9942 src/imap/main.c
--- a/src/imap/main.c	Tue May 26 02:53:42 2009 -0400
+++ b/src/imap/main.c	Tue May 26 03:15:59 2009 -0400
@@ -150,7 +150,8 @@ int main(int argc, char *argv[], char *e
 		&imap_setting_parser_info,
 		NULL
 	};
-	enum master_service_flags service_flags = 0;
+	enum master_service_flags service_flags =
+		MASTER_SERVICE_FLAG_STD_CLIENT;
 	enum mail_storage_service_flags storage_service_flags = 0;
 	struct mail_storage_service_input input;
 	struct mail_user *mail_user;
diff -r 976a4c9ca6b6 -r 315a480f9942 src/pop3/main.c
--- a/src/pop3/main.c	Tue May 26 02:53:42 2009 -0400
+++ b/src/pop3/main.c	Tue May 26 03:15:59 2009 -0400
@@ -81,7 +81,8 @@ int main(int argc, char *argv[], char *e
 		&pop3_setting_parser_info,
 		NULL
 	};
-	enum master_service_flags service_flags = 0;
+	enum master_service_flags service_flags =
+		MASTER_SERVICE_FLAG_STD_CLIENT;
 	enum mail_storage_service_flags storage_service_flags =
 		MAIL_STORAGE_SERVICE_FLAG_DISALLOW_ROOT;
 	struct mail_storage_service_input input;


More information about the dovecot-cvs mailing list