3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 06:29:23 +01:00

client: Set saveptr argument of strtok_r to NULL for initial invocation

This commit is contained in:
Marcel Holtmann 2017-08-30 23:17:21 +02:00
parent d8d7a31f74
commit f41fa52f99

View File

@ -222,7 +222,7 @@ char **command_completion(const char *text, int start, int end)
{
char **matches = NULL;
const char *family;
char *args;
char *args = NULL;
char *prompt = NULL;
bool ends_with_space = false;