Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! nanocoap: rework option handling
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspar030 committed Apr 9, 2018
1 parent 0f8a98f commit da6ca3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/net/application_layer/nanocoap/nanocoap.c
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ int coap_get_uri(coap_pkt_t *pkt, uint8_t *target)
if (!opt_pos) {
*target++ = '/';
*target = '\0';
return 1;
return 2;
}

unsigned left = NANOCOAP_URI_MAX - 1;
Expand Down

0 comments on commit da6ca3d

Please sign in to comment.