aboutsummaryrefslogtreecommitdiff
path: root/src/config.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2019-12-28 12:28:25 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2019-12-28 12:28:25 -0500
commit5a754bcdc0f5e432c1d7cd358c74dfb2d6f0f1ea (patch)
treea60ffaacdaa394f8a9772220b50a47d5f51bddc6 /src/config.c
parenta267f8258162fdab350944676b2e71f858c3de51 (diff)
downloadspmc-5a754bcdc0f5e432c1d7cd358c74dfb2d6f0f1ea.tar.gz
Fixes:
* doxygen config * doxygen @file directives * corrected stupid strip() implemention * corrected strip usage by config parser. wrong pointer.
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c
index 93ff673..1eaed15 100644
--- a/src/config.c
+++ b/src/config.c
@@ -70,7 +70,7 @@ ConfigItem **config_read(const char *filename) {
while (lptr != sep_pos) {
*key++ = *lptr++;
}
- key = strip(key);
+ key = strip(key_orig);
// We're at the separator now, so skip over it
lptr++;