summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitri Pal <dpal@redhat.com>2012-12-11 12:30:03 -0500
committerOndrej Kos <okos@redhat.com>2012-12-12 10:15:31 +0100
commit89243948c4f0499e70ca5bdbad62f03fd3cfb6a4 (patch)
treea00f52422abb3939fe37a6cfa7503c4e4aeb7dc4
parente2a161e0e2728f65b42c1560c9e92ebbc85362c5 (diff)
downloadding-libs-89243948c4f0499e70ca5bdbad62f03fd3cfb6a4.tar.gz
ding-libs-89243948c4f0499e70ca5bdbad62f03fd3cfb6a4.tar.xz
ding-libs-89243948c4f0499e70ca5bdbad62f03fd3cfb6a4.zip
Fixing coverity issue 13105
-rw-r--r--ini/ini_get_valueobj.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ini/ini_get_valueobj.c b/ini/ini_get_valueobj.c
index 3ea53a4..8a99642 100644
--- a/ini/ini_get_valueobj.c
+++ b/ini/ini_get_valueobj.c
@@ -137,13 +137,13 @@ int ini_get_config_valueobj(const char *section,
else to_find = section;
TRACE_INFO_STRING("Getting Name:", name);
- TRACE_INFO_STRING("In Section:", section);
+ TRACE_INFO_STRING("In Section:", to_find);
/* Make sure we start over if this is the first value */
if (mode == INI_GET_FIRST_VALUE) ini_config_clean_state(ini_config);
/* Are we looking in the same section ? */
- if (!is_same_section(ini_config, section)) {
+ if (!is_same_section(ini_config, to_find)) {
/* This is a different section */
ini_config_clean_state(ini_config);