summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-auth.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-02-13 04:18:44 +0000
committerHavoc Pennington <hp@redhat.com>2003-02-13 04:18:44 +0000
commit0362840f1d4648f240e211e12767ef6990ca2bb6 (patch)
tree4d585123b4ca98f34c8608127ce3a2ec87cd0b4c /dbus/dbus-auth.c
parent5970d04af540af4825958272cba950c0b7dff15d (diff)
2003-02-13 Havoc Pennington <hp@pobox.com>
* test/data/auth/fail-after-n-attempts.auth-script: new test * dbus/dbus-auth.c (send_rejected): shutdown_mech() when we reject the client.
Diffstat (limited to 'dbus/dbus-auth.c')
-rw-r--r--dbus/dbus-auth.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dbus/dbus-auth.c b/dbus/dbus-auth.c
index 324391ea..8125a8ed 100644
--- a/dbus/dbus-auth.c
+++ b/dbus/dbus-auth.c
@@ -610,6 +610,8 @@ send_rejected (DBusAuth *auth)
_dbus_string_get_length (&auth->outgoing)))
goto nomem;
+ shutdown_mech (auth);
+
_dbus_assert (DBUS_AUTH_IS_SERVER (auth));
server_auth = DBUS_AUTH_SERVER (auth);
server_auth->failures += 1;