New delete function

This commit is contained in:
PolynomialDivision 2017-07-29 16:52:18 +02:00
parent 16dfa3238e
commit 0944faed7f
5 changed files with 34 additions and 21 deletions

View file

@ -101,7 +101,7 @@ void *receive_msg(void *args) {
*/
if (strstr(str, "clients") != NULL) {
parse_to_clients(b.head, 0);
parse_to_clients(b.head, 0, 0);
} else if (strstr(str, "target") != NULL) {
if (parse_to_probe_req(b.head, &prob_req) == 0) {
insert_to_array(prob_req, 0);