dbus-daemon: fix forgotten counter increase while copying configured auth mechanisms
authorPavel Strashkin <pavel.strashkin@gmail.com>
Mon, 23 Jan 2012 10:20:48 +0000 (10:20 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 13 Feb 2012 16:19:14 +0000 (16:19 +0000)
Previously, only one auth mechanism was used.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=45106
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
bus/bus.c

index 6b0dc08..04d25bc 100644 (file)
--- a/bus/bus.c
+++ b/bus/bus.c
@@ -419,6 +419,7 @@ process_config_first_time_only (BusContext       *context,
           if (auth_mechanisms[i] == NULL)
             goto oom;
           link = _dbus_list_get_next_link (auth_mechanisms_list, link);
+          i += 1;
         }
     }
   else