Skip to content

Commit

Permalink
initialize network in example
Browse files Browse the repository at this point in the history
  • Loading branch information
256dpi committed Oct 22, 2017
1 parent e028438 commit 121ee17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 121ee17

Please sign in to comment.