Browse Source

more debug

master
Jeroen Vreeken 4 years ago
parent
commit
e76e11d1fd
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      dmld.c

+ 3
- 3
dmld.c View File

@ -641,10 +641,10 @@ void rx_packet(struct dml_connection *dc, void *arg,
dml_packet_parse_req_header(data, len, id);
dc_r = dml_route_connection_get(id);
char *idstr = dml_id_str(id);
printf("Request header for %s: %p\n", idstr, dc_r);
free(idstr);
if (dc_r) {
char *idstr = dml_id_str(id);
printf("Request header for %s\n", idstr);
free(idstr);
dml_packet_send_req_header(dc_r, id);
}
list_add(&con->req_header, id);


Loading…
Cancel
Save