From 33b4548def30390f7fa42c85b25db6b944725585 Mon Sep 17 00:00:00 2001 From: zhangsheng Date: Tue, 12 Nov 2024 20:08:31 +0800 Subject: [PATCH] fix read ini file bugs --- common/common_func.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/common_func.cpp b/common/common_func.cpp index dce02f9..2d70edf 100644 --- a/common/common_func.cpp +++ b/common/common_func.cpp @@ -1515,7 +1515,7 @@ int writeStringVlaue(const char *section, const char *key, char *val, const char } memset(sect, 0, SECTION_MAX_LEN); sprintf(sect, "[%s]", section); - IniWriteValue(section, key, val, file); + IniWriteValue(sect, key, val, file); return 0; }