add: potential fix for OSX uses, by @piwi

chg:  adapting fix to support iceman forks extended commands.
This commit is contained in:
iceman1001 committed 2018-05-02 08:11:29 +02:00
1 parent 886f7fbdad
commit 207fa2b574
39 files changed
+160 -129

No files matched your search

+1 -3
View File
@@ -79,9 +79,7 @@ static int l_GetFromBigBuf(lua_State *L){
return 2; // two return values
}
GetFromBigBuf(data, len, startindex);
if ( !WaitForResponseTimeout(CMD_ACK, NULL, 2500) ) {
if ( !GetFromBigBuf(data, len, startindex, NULL, 2500, false)) {
free(data);
lua_pushnil(L);
lua_pushstring(L,"command execution time out");