summaryrefslogtreecommitdiffstats
path: root/common/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/file.c')
-rw-r--r--common/file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/file.c b/common/file.c
index 6d69d874..f3fa88f1 100644
--- a/common/file.c
+++ b/common/file.c
@@ -188,6 +188,8 @@ file_split_name_value(char* text, char* name, char* value)
name[name_index] = 0;
}
}
+ g_strtrim(name, 3); /* trim both right and left */
+ g_strtrim(value, 3); /* trim both right and left */
return 0;
}