Skip to content

Commit

Permalink
Fix changes to cn-cbor interface
Browse files Browse the repository at this point in the history
  • Loading branch information
hildjj committed Sep 16, 2015
1 parent e8af990 commit 1ce7e41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/spud.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ typedef struct _spud_message
/** fixed header */
spud_header* header;
/** CBOR map */
const cn_cbor* cbor;
cn_cbor* cbor;
} spud_message;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/tube.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ tube_send_cbor(tube* t,

assert(t);

sz = cbor_encoder_write(buf, 0, MAXBUFLEN, cbor);
sz = cn_cbor_encoder_write(buf, 0, MAXBUFLEN, cbor);
if (sz < 0)
{
LS_ERROR(err, LS_ERR_OVERFLOW);
Expand Down

0 comments on commit 1ce7e41

Please sign in to comment.