mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
add debug msg
This commit is contained in:
parent
2bfc32fe38
commit
f1a92a3bf3
1 changed files with 3 additions and 1 deletions
|
@ -69,6 +69,7 @@ void *receive_msg(void *args) {
|
|||
}
|
||||
recv_string[recv_string_len] = '\0';
|
||||
|
||||
printf("NETRWORK RECEIVED: %s\n", recv_string);
|
||||
handle_network_msg(recv_string);
|
||||
}
|
||||
}
|
||||
|
@ -94,6 +95,7 @@ void *receive_msg_enc(void *args) {
|
|||
char *dec = gcrypt_decrypt_msg(base64_dec_str, base64_dec_length);
|
||||
|
||||
free(base64_dec_str);
|
||||
printf("NETRWORK RECEIVED: %s\n", recv_string);
|
||||
handle_network_msg(dec);
|
||||
free(dec);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue