chg: unified download

This commit is contained in:
iceman1001 2018-05-02 19:54:06 +02:00
parent 6f7d0dffdc
commit 1d8d611737
3 changed files with 5 additions and 5 deletions

View file

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