changeset 20246:4da2242652f3

dict: Fixed crash when reaching max (5) pending commands.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Thu, 02 Jun 2016 00:51:26 +0300
parents 57078d325d01
children 7a06e0c5a1fc
files src/dict/dict-connection.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/dict/dict-connection.c	Wed Jun 01 18:11:29 2016 +0300
+++ b/src/dict/dict-connection.c	Thu Jun 02 00:51:26 2016 +0300
@@ -155,6 +155,7 @@
 			io_remove(&conn->io);
 			if (conn->to_input != NULL)
 				timeout_remove(&conn->to_input);
+			break;
 		}
 	}
 }