mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-04-16 15:57:53 +02:00
client: Set saveptr argument of strtok_r to NULL for initial invocation
This commit is contained in:
parent
d8d7a31f74
commit
f41fa52f99
@ -222,7 +222,7 @@ char **command_completion(const char *text, int start, int end)
|
|||||||
{
|
{
|
||||||
char **matches = NULL;
|
char **matches = NULL;
|
||||||
const char *family;
|
const char *family;
|
||||||
char *args;
|
char *args = NULL;
|
||||||
char *prompt = NULL;
|
char *prompt = NULL;
|
||||||
bool ends_with_space = false;
|
bool ends_with_space = false;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user