properly initialize buffer when printing loaded plugins.
This commit is contained in:
@@ -230,6 +230,7 @@ static void print_plugins()
|
||||
int len = 0;
|
||||
enumerator_t *enumerator;
|
||||
|
||||
buf[0] = '\0';
|
||||
enumerator = lib->plugins->create_plugin_enumerator(lib->plugins);
|
||||
while (len < BUF_LEN && enumerator->enumerate(enumerator, &plugin))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user