]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
director: Don't remove user's weak flag from notify connection.
authorTimo Sirainen <tss@iki.fi>
Mon, 22 Oct 2012 12:32:04 +0000 (15:32 +0300)
committerTimo Sirainen <tss@iki.fi>
Mon, 22 Oct 2012 12:32:04 +0000 (15:32 +0300)
If notify connection worked properly, the weak flag should never have been
set in the first place. And if it's just suddenly removed, it won't finish
the pending requests properly.

src/director/notify-connection.c

index 143465a7a6277c779ee244db5907cb30106e1ed3..58c733b79386f74371b4ffc117acf8969f4c6b15 100644 (file)
@@ -33,7 +33,6 @@ static void notify_connection_input(struct notify_connection *conn)
                                i_warning("notify: User %s refreshed too late "
                                          "(%d secs)", line, diff);
                        }
-                       user->weak = FALSE;
                        user_directory_refresh(conn->dir->users, user);
                        director_update_user(conn->dir, conn->dir->self_host,
                                             user);