Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
256dpi committed Mar 22, 2018
1 parent fc6b241 commit 8cd645f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/os/unix.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ lwmqtt_err_t lwmqtt_unix_network_select(lwmqtt_unix_network_t *network, bool *av

// wait for data
struct timeval t = {.tv_sec = timeout / 1000, .tv_usec = (timeout % 1000) * 1000};
int result = select(network->socket+1, &set, NULL, NULL, &t);
int result = select(network->socket + 1, &set, NULL, NULL, &t);
if (result < 0) {
return LWMQTT_NETWORK_FAILED_READ;
}
Expand Down

0 comments on commit 8cd645f

Please sign in to comment.