mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-17 13:29:05 +03:00
Remove unused message_id from coap_context_t and coap_async_t
It appears that message_id was left in coap_context_t and coap_async_t when coap_session_t was created. include/coap2/async.h: include/coap2/net.h: Remove message_id. src/net.c: No longer just set message_id.
This commit is contained in:
1 parent
a5f434e685
commit
93e558ba02
3 files changed
-11
No files matched your search
@@ -469,9 +469,6 @@ coap_new_context(
|
||||
/* set default CSM timeout */
|
||||
c->csm_timeout = 30;
|
||||
|
||||
/* initialize message id */
|
||||
prng((unsigned char *)&c->message_id, sizeof(uint16_t));
|
||||
|
||||
if (listen_addr) {
|
||||
coap_endpoint_t *endpoint = coap_new_endpoint(c, listen_addr, COAP_PROTO_UDP);
|
||||
if (endpoint == NULL) {
|
||||
|
||||
Reference in new issue
Block a user