changeset 4640:f5772851ac91 HEAD

If login process sends wrong state information, restart it.
author Timo Sirainen <tss@iki.fi>
date Mon, 09 Oct 2006 00:46:25 +0300
parents 47531abcf691
children 67c067409634
files src/master/login-process.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/master/login-process.c	Mon Oct 09 00:42:38 2006 +0300
+++ b/src/master/login-process.c	Mon Oct 09 00:46:25 2006 +0300
@@ -183,6 +183,7 @@
 		i_error("login: tried to change state %d -> %d "
 			"(if you can't login at all, see src/lib/fdpass.c)",
 			p->state, state);
+		login_process_destroy(p);
 		return;
 	}