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
0890c6de93
commit
8aa4b116ba
1 changed files with 3 additions and 3 deletions
|
@ -512,7 +512,7 @@ int send_blob_attr_via_network(struct blob_attr *msg, char* method)
|
|||
char *str;
|
||||
printf("TO JSON\n");
|
||||
data_str = blobmsg_format_json(msg, true);
|
||||
printf("DATA STRING: %s", data_str);
|
||||
printf("DATA STRING: %s\n", data_str);
|
||||
printf("JSON FINISHED\n");
|
||||
|
||||
printf("ADD STRINGS!\n");
|
||||
|
@ -529,8 +529,8 @@ int send_blob_attr_via_network(struct blob_attr *msg, char* method)
|
|||
printf("SENDING\n");
|
||||
send_string_enc(str);
|
||||
printf("SENDING FINISHED!\n");
|
||||
free(str);
|
||||
free(data_str);
|
||||
//free(str);
|
||||
//free(data_str);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue