From 81ad3eb648be720240c376b74a39288fa61025b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20G=C3=A4hwiler?= Date: Wed, 3 May 2017 14:27:12 +0200 Subject: [PATCH] fmt --- src/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.c b/src/client.c index 98a2073..f178639 100644 --- a/src/client.c +++ b/src/client.c @@ -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; }