1
0
mirror of https://github.com/haiwen/ccnet-server.git synced 2025-09-03 13:54:37 +00:00

Remove trailing spaces from values when reading config file.

This commit is contained in:
Jonathan Xu
2016-12-28 13:42:13 +08:00
parent e8be540130
commit 55cbd806ae
3 changed files with 8 additions and 8 deletions

View File

@@ -389,7 +389,7 @@ ccnet_util_key_file_get_string (GKeyFile *keyf,
return NULL;
}
return v;
return g_strchomp(v);
}
void