mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-10-31 04:31:57 +00:00 
			
		
		
		
	[client/host] common: fix trim value bug reading the wrong variable
This commit is contained in:
		| @@ -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'; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Geoffrey McRae
					Geoffrey McRae