correct zeroing of allnodes array

This commit is contained in:
Holger Vogt 2020-04-23 13:33:07 +02:00
parent 833751ab3f
commit 050cea146e
1 changed files with 1 additions and 1 deletions

View File

@ -295,6 +295,6 @@ char** EVTallnodes(void)
allnodes[i] = node->name;
node = node->next;
}
allnodes[len] = '\0';
allnodes[len] = NULL;
return allnodes;
}