mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
luaclient: fix "jump to...crosses initialization of" error
Origin commit data
------------------
Commit: a21399479e
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-01-26 (Mon, 26 Jan 2015)
This commit is contained in:
committed by
Jacek Jendrzej
parent
1a5ff13a13
commit
5a5ad3a902
@@ -76,6 +76,7 @@ int main(int argc, char** argv)
|
||||
int res = -1;
|
||||
const char *fun = NULL;
|
||||
char *resp = NULL;
|
||||
char result[size];
|
||||
|
||||
if (!client.Send(data, size)) {
|
||||
fun = "Send failed";
|
||||
@@ -85,7 +86,6 @@ int main(int argc, char** argv)
|
||||
fun = "Recv (1) failed";
|
||||
goto fail;
|
||||
}
|
||||
char result[size];
|
||||
if (!client.Recv(result, size)) {
|
||||
fun = "Recv (2) failed";
|
||||
goto fail;
|
||||
|
Reference in New Issue
Block a user