Mercurial > dovecot > core-2.2
diff src/lib-master/master-login-auth.c @ 10159:e027503ddb6b HEAD
Use net_connect_unix_with_retries() instead of duplicating the code everywhere.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 22 Oct 2009 22:25:31 -0400 |
parents | 4fe8c4382712 |
children | 9d13e9f78d52 |
line wrap: on
line diff
--- a/src/lib-master/master-login-auth.c Thu Oct 22 22:25:08 2009 -0400 +++ b/src/lib-master/master-login-auth.c Thu Oct 22 22:25:31 2009 -0400 @@ -240,7 +240,7 @@ i_assert(auth->fd == -1); - fd = net_connect_unix(auth->auth_socket_path); + fd = net_connect_unix_with_retries(auth->auth_socket_path, 1000); if (fd == -1) { i_error("net_connect_unix(%s) failed: %m", auth->auth_socket_path);