mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
return in functions
This commit is contained in:
parent
a7899bf787
commit
de027cadf1
1 changed files with 3 additions and 1 deletions
|
@ -452,7 +452,6 @@ int handle_network_msg(char* msg)
|
||||||
printf("METHOD! : %s\n", method);
|
printf("METHOD! : %s\n", method);
|
||||||
printf("DATA: %s\n", data);
|
printf("DATA: %s\n", data);
|
||||||
|
|
||||||
return -1;
|
|
||||||
|
|
||||||
|
|
||||||
printf("GET STRING FINISHED NETWORK MSG!\n");
|
printf("GET STRING FINISHED NETWORK MSG!\n");
|
||||||
|
@ -461,6 +460,9 @@ int handle_network_msg(char* msg)
|
||||||
blobmsg_add_json_from_string(&data_buf, data);
|
blobmsg_add_json_from_string(&data_buf, data);
|
||||||
printf("JSON PARSING AGAIN FINISHED NETWORK MSG!\n");
|
printf("JSON PARSING AGAIN FINISHED NETWORK MSG!\n");
|
||||||
|
|
||||||
|
return -1;
|
||||||
|
|
||||||
|
|
||||||
printf("DO STRINGCOMPARE: %s : %s!\n", method, data);
|
printf("DO STRINGCOMPARE: %s : %s!\n", method, data);
|
||||||
if(!blob_len(data_buf.head))
|
if(!blob_len(data_buf.head))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue