summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c21ce3b)
raw | patch | inline | side by side (parent: c21ce3b)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Tue, 26 Jan 2016 11:19:57 +0000 (12:19 +0100) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Tue, 26 Jan 2016 11:19:57 +0000 (12:19 +0100) |
src/openvpn.c | patch | blob | history |
diff --git a/src/openvpn.c b/src/openvpn.c
index a36de9d0160524b056e1df8cd45d155f5de2b80e..93c8f1b58363fbf8f7a27f4f03a5b4077f74fee8 100644 (file)
--- a/src/openvpn.c
+++ b/src/openvpn.c
/* call the right read function for every status entry in the list */
for (i = 0; i < vpn_num; i++)
{
+ int vpn_read = 0;
+
fh = fopen (vpn_list[i]->file, "r");
if (fh == NULL)
{