luaclient: fix "jump to...crosses initialization of" error

Origin commit data
------------------
Commit: 1e03544d7e
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-01-26 (Mon, 26 Jan 2015)
This commit is contained in:
Stefan Seyfried
2015-01-26 13:51:20 +01:00
parent 0ebda986b5
commit 92b7dc051c

View File

@@ -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;