mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-30 00:26:57 +08:00
Integrate PR170
PUBLISHED_FROM=f1a804466bea6d6d77103525d76ef7b819b63477
This commit is contained in:
parent
c9721d4d7f
commit
a8f54d1851
@ -11054,7 +11054,7 @@ uint32_t mg_coap_compose(struct mg_coap_message *cm, struct mbuf *io) {
|
|||||||
prev_opt_number = 0;
|
prev_opt_number = 0;
|
||||||
while (opt != NULL) {
|
while (opt != NULL) {
|
||||||
uint8_t delta_base = 0, length_base = 0;
|
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 =
|
size_t opt_delta_len =
|
||||||
coap_split_opt(opt->number - prev_opt_number, &delta_base, &delta_ext);
|
coap_split_opt(opt->number - prev_opt_number, &delta_base, &delta_ext);
|
||||||
|
@ -475,6 +475,7 @@ typedef struct stat cs_stat_t;
|
|||||||
#define INT64_X_FMT PRIx64
|
#define INT64_X_FMT PRIx64
|
||||||
#define __cdecl
|
#define __cdecl
|
||||||
#define _FILE_OFFSET_BITS 32
|
#define _FILE_OFFSET_BITS 32
|
||||||
|
#define fineno(x) -1
|
||||||
|
|
||||||
#define MG_LWIP 1
|
#define MG_LWIP 1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user