summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2009-03-25 03:47:49 +0000
committerStef Walter <stef@memberwebs.com>2009-03-25 03:47:49 +0000
commitfa0f01f837f85b57b78925a9e417e0861b87e5db (patch)
treec9891e704d33967667217c27cfd2b0101104a159
parent63ef7964dd2927c979be64049f218f76fa2776fd (diff)
Trim values from the config file.
-rw-r--r--common/config-parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/config-parser.c b/common/config-parser.c
index f95d44e..b5852b7 100644
--- a/common/config-parser.c
+++ b/common/config-parser.c
@@ -218,7 +218,7 @@ cfg_parse_file(const char* filename, void* data, char** memory)
t++;
name = strtrim(p);
- value = t;
+ value = strtrim(t);
}
if(name && value)