Skip to content

Commit

Permalink
fix coap_buffer_t, move doc to coap_option_t
Browse files Browse the repository at this point in the history
  • Loading branch information
Lotterleben committed Mar 3, 2015
1 parent 4ac9354 commit b58335e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions coap.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ typedef struct

typedef struct
{
uint8_t num; /* Option number. See http://tools.ietf.org/html/rfc7252#section-5.10 */
coap_buffer_t buf; /* Option value */
const uint8_t *p;
size_t len;
} coap_buffer_t;

typedef struct
Expand All @@ -37,8 +37,8 @@ typedef struct

typedef struct
{
uint8_t num;
coap_buffer_t buf;
uint8_t num; /* Option number. See http://tools.ietf.org/html/rfc7252#section-5.10 */
coap_buffer_t buf; /* Option value */
} coap_option_t;

typedef struct
Expand Down

0 comments on commit b58335e

Please sign in to comment.