Fix session_list scanning where some entries were skipped
This commit is contained in:
parent
c65494886d
commit
e529a04d26
@ -525,9 +525,9 @@ session_list_get_wait_objs(tbus robjs[], int *robjs_count)
|
|||||||
int
|
int
|
||||||
session_list_check_wait_objs(void)
|
session_list_check_wait_objs(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i = 0;
|
||||||
|
|
||||||
for (i = 0 ; i < g_session_list->count; ++i)
|
while (i < g_session_list->count)
|
||||||
{
|
{
|
||||||
struct session_item *si;
|
struct session_item *si;
|
||||||
si = (struct session_item *)list_get_item(g_session_list, i);
|
si = (struct session_item *)list_get_item(g_session_list, i);
|
||||||
|
Loading…
Reference in New Issue
Block a user