Commit 9ed8c96f by Alexander Kriventsov

try to fix search user instead of search substring

parent 3e8a11cb
...@@ -423,6 +423,7 @@ static char *find_line(char *buf_start, char *buf_end, char *name, ...@@ -423,6 +423,7 @@ static char *find_line(char *buf_start, char *buf_end, char *name,
if (strncmp(buf_start, name, strlen(name))) if (strncmp(buf_start, name, strlen(name)))
*found = false; *found = false;
else else
if (strlen(name) == (size_t)(end_of_word - buf_start))
*owner = true; *owner = true;
buf_start = end_of_word + 1; buf_start = end_of_word + 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment