mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 11:17:54 +00:00
[client/host] common: fix trim value bug reading the wrong variable
This commit is contained in:
parent
e6aa2b85a9
commit
b2ec60d2dc
1 changed files with 1 additions and 1 deletions
|
@ -487,7 +487,7 @@ static bool process_option_line(const char * module, const char * name,
|
|||
if (value)
|
||||
{
|
||||
//rtrim
|
||||
while (valueLen > 1 && isspace(name[valueLen-1]))
|
||||
while (valueLen > 1 && isspace(value[valueLen-1]))
|
||||
--valueLen;
|
||||
|
||||
value[valueLen] = '\0';
|
||||
|
|
Loading…
Reference in a new issue