bugfix: #25 async example creates short packet

Increased packet size by 5.
This commit is contained in:
Olaf Bergmann committed 2014-02-25 19:15:52 +01:00
1 parent e2dfed6035
commit ed9c7ee560
1 file changed
+1 -1
+1 -1
View File
@@ -219,7 +219,7 @@ check_async(coap_context_t *ctx, coap_tick_t now) {
coap_pdu_t *response;
coap_async_state_t *tmp;
size_t size = sizeof(coap_hdr_t) + 8;
size_t size = sizeof(coap_hdr_t) + 13;
if (!async || now < async->created + (unsigned long)async->appdata)
return;