Fix type error tizen_2.1 2.1b_release accepted/tizen/20130520.100940 accepted/tizen_2.1/20130425.035419 submit/tizen/20130517.044831 submit/tizen_2.1/20130424.230940
authorSeungYeup Kim <sy2004.kim@samsung.com>
Fri, 22 Mar 2013 04:11:55 +0000 (13:11 +0900)
committerSeungYeup Kim <sy2004.kim@samsung.com>
Fri, 22 Mar 2013 04:11:55 +0000 (13:11 +0900)
packaging/vconf.spec
vconf.c

index 787fd2712a90bf2806d6465be9b574ffbf2a0674..08753c9aa7e0afa3087bc0447e3a9a4f2e33fcb2 100755 (executable)
@@ -1,7 +1,7 @@
 Name:       vconf
 Summary:    Configuration system library
 Version:    0.2.45
-Release:    2
+Release:    3
 Group:      System/Libraries
 License:    Apache License, Version 2.0
 Source0:    %{name}-%{version}.tar.gz
diff --git a/vconf.c b/vconf.c
index 4dad3563067c7770defd819930019b95341362b3..2322c75acd49a80ef953870ee0ccff0e02e371b9 100755 (executable)
--- a/vconf.c
+++ b/vconf.c
@@ -1237,13 +1237,13 @@ static int _vconf_set_key(keynode_t *keynode)
                                                break;
                                        }
 
-                                       ret = _vconf_set_key_check_parent_dir(path);
+                                       rc = _vconf_set_key_check_parent_dir(path);
                                        if(rc != VCONF_OK) {
                                                ERR("_vconf_set_key_check_parent_dir error : %s", path);
                                                break;
                                        }
 
-                                       ret = _vconf_set_key_creation(path);
+                                       rc = _vconf_set_key_creation(path);
                                        if(rc != VCONF_OK) {
                                                ERR("_vconf_set_key_creation error : %s", path);
                                                break;