examples/gcoap: replace gcoap_req_send()

This commit is contained in:
Martine S. Lenders 2019-07-03 15:01:50 +02:00
parent c9179a26c8
commit f1495f839d

View File

@ -196,7 +196,7 @@ static size_t _send(uint8_t *buf, size_t len, char *addr_str, char *port_str)
return 0; return 0;
} }
bytes_sent = gcoap_req_send2(buf, len, &remote, _resp_handler); bytes_sent = gcoap_req_send(buf, len, &remote, _resp_handler);
if (bytes_sent > 0) { if (bytes_sent > 0) {
req_count++; req_count++;
} }