summaryrefslogtreecommitdiffstats
path: root/common/file.c
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2007-10-27 05:53:19 +0000
committerjsorg71 <jsorg71>2007-10-27 05:53:19 +0000
commitd3fa8fd6f6cefaf61898af30655124b921602318 (patch)
tree54da10054fff3edf1dacdc55bc390090637dca0c /common/file.c
parentca37e8cb1d0c697a2b0b63afe9101a570ba2fb2a (diff)
downloadxrdp-proprietary-d3fa8fd6f6cefaf61898af30655124b921602318.tar.gz
xrdp-proprietary-d3fa8fd6f6cefaf61898af30655124b921602318.zip
added g_strtrim
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;
}