From 121ee176fd3e8f82755f77ac693b5bddb1ae4a92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20G=C3=A4hwiler?= Date: Sun, 22 Oct 2017 22:03:48 +0300 Subject: [PATCH] initialize network in example --- example/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/main.c b/example/main.c index bcdf5f4..de70278 100644 --- a/example/main.c +++ b/example/main.c @@ -13,7 +13,7 @@ static void message_arrived(lwmqtt_client_t *client, void *ref, lwmqtt_string_t } int main() { - lwmqtt_unix_network_t network; + lwmqtt_unix_network_t network = {0}; lwmqtt_unix_timer_t timer1, timer2, timer3; lwmqtt_client_t client;