Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
256dpi committed May 3, 2017
1 parent 1f2446e commit 81ad3eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ static lwmqtt_err_t lwmqtt_read_packet_in_buffer(lwmqtt_client_t *c, int *read,
// read the rest of the buffer if needed
if (rem_len > 0) {
// check read buffer capacity
if(c->read_buf_size < 1 + len + rem_len) {
if (c->read_buf_size < 1 + len + rem_len) {
return LWMQTT_BUFFER_TOO_SHORT;
}

Expand Down

0 comments on commit 81ad3eb

Please sign in to comment.