mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-07 12:20:19 +01:00
Merge branch 'master' into 'master'
socket_handle_watch: break when `found` is TRUE in server See merge request dbus/dbus!374
This commit is contained in:
commit
45b7e104ca
1 changed files with 4 additions and 1 deletions
|
|
@ -172,7 +172,10 @@ socket_handle_watch (DBusWatch *watch,
|
|||
for (i = 0 ; i < socket_server->n_fds ; i++)
|
||||
{
|
||||
if (socket_server->watch[i] == watch)
|
||||
found = TRUE;
|
||||
{
|
||||
found = TRUE;
|
||||
break;
|
||||
}
|
||||
}
|
||||
_dbus_assert (found);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue