return in functions

This commit is contained in:
PolynomialDivision 2017-12-13 10:33:57 +01:00
parent 4ca5c91eb9
commit f5ed5db2df
2 changed files with 3 additions and 0 deletions

View file

@ -134,6 +134,8 @@ void *receive_msg_enc(void *args) {
continue;
}
return 0;
if (recv_string == NULL) {
return 0;
}

View file

@ -502,6 +502,7 @@ int handle_network_msg(char* msg)
int send_blob_attr_via_network(struct blob_attr *msg, char* method)
{
return 0;
struct blob_buf b_send_network;
char *data_str;
char *str;