mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-30 14:47:57 +03:00
Only transition to sl_listxfer if it idle
This commit is contained in:
parent
c742dc34f7
commit
1cf3fb9751
1 changed files with 3 additions and 1 deletions
|
@ -415,7 +415,9 @@ static GError SendListRequest(GServerList serverlist, GServerListSocket slsocket
|
||||||
if (gsiSocketIsError(len) || len == 0)
|
if (gsiSocketIsError(len) || len == 0)
|
||||||
return GE_NOCONNECT;
|
return GE_NOCONNECT;
|
||||||
|
|
||||||
ServerListModeChange(serverlist, sl_listxfer);
|
if (serverlist->state == sl_idle) {
|
||||||
|
ServerListModeChange(serverlist, sl_listxfer);
|
||||||
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue