dbus-daemon: fix forgotten counter increase while copying configured auth mechanisms
[platform/upstream/dbus.git] / 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