I cherry-picked this patch, but overlooked the fact it relates to
another change (
c339d93f) only found in the collectd-5.5 branch.
Reverting, as it results in a compilation error.
This reverts commit
b7f9a3c02d885e0fbe8fb7aac5c9a51b5771a9d3.
/* call the right read function for every status entry in the list */
for (i = 0; i < vpn_num; i++)
{
/* call the right read function for every status entry in the list */
for (i = 0; i < vpn_num; i++)
{
fh = fopen (vpn_list[i]->file, "r");
if (fh == NULL)
{
fh = fopen (vpn_list[i]->file, "r");
if (fh == NULL)
{