Integrate PR170

PUBLISHED_FROM=f1a804466bea6d6d77103525d76ef7b819b63477
This commit is contained in:
Ilia Penev 2016-11-22 09:54:45 +02:00 committed by Cesanta Bot
parent c9721d4d7f
commit a8f54d1851
2 changed files with 2 additions and 1 deletions

View File

@ -11054,7 +11054,7 @@ uint32_t mg_coap_compose(struct mg_coap_message *cm, struct mbuf *io) {
prev_opt_number = 0;
while (opt != NULL) {
uint8_t delta_base = 0, length_base = 0;
uint16_t delta_ext, length_ext;
uint16_t delta_ext = 0, length_ext = 0;
size_t opt_delta_len =
coap_split_opt(opt->number - prev_opt_number, &delta_base, &delta_ext);

View File

@ -475,6 +475,7 @@ typedef struct stat cs_stat_t;
#define INT64_X_FMT PRIx64
#define __cdecl
#define _FILE_OFFSET_BITS 32
#define fineno(x) -1
#define MG_LWIP 1