Fix build error 35/63035/1 accepted/tizen/ivi/20160322.084215 accepted/tizen/mobile/20160322.084122 accepted/tizen/tv/20160322.084139 accepted/tizen/wearable/20160322.084200 submit/tizen/20160322.004819
authorWootak Jung <wootak.jung@samsung.com>
Tue, 22 Mar 2016 00:39:01 +0000 (09:39 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Tue, 22 Mar 2016 00:39:01 +0000 (09:39 +0900)
Change-Id: Id323e660fc6f7e95c7d1793bc04cba9964756d5c

src/telephony_sim.c

index 1927bb2384dee2e83cc75acbbedcceffa584e549..bed6188e94b9610b009aad7be51cc6ce70bd91e8 100644 (file)
@@ -249,7 +249,7 @@ int telephony_sim_get_spn(telephony_h handle, char **spn)
                                else
                                        *spn = strdup("");
                                LOGI("SPN: [%s]", *spn);
-                       } else if (result == SIM_ACCESS_FILE_NOT_FOUND) {
+                       } else if (result == TAPI_SIM_ACCESS_FILE_NOT_FOUND) {
                                *spn = strdup("");
                                LOGI("SPN: [%s]", *spn);
                        } else {
@@ -423,7 +423,7 @@ int telephony_sim_get_subscriber_number(telephony_h handle, char **subscriber_nu
                        }
                        if (!*subscriber_number)
                                *subscriber_number = strdup("");
-               } else if (result == SIM_ACCESS_FILE_NOT_FOUND) {
+               } else if (result == TAPI_SIM_ACCESS_FILE_NOT_FOUND) {
                        *subscriber_number = strdup("");
                } else {
                        error_code = TELEPHONY_ERROR_OPERATION_FAILED;
@@ -576,7 +576,7 @@ int telephony_sim_get_group_id1(telephony_h handle, char **gid1)
                                        g_variant_iter_free(iter);
                                        g_variant_unref(inner_gv);
                                }
-                       } else if (result == SIM_ACCESS_FILE_NOT_FOUND) {
+                       } else if (result == TAPI_SIM_ACCESS_FILE_NOT_FOUND) {
                                *gid1 = strdup("");
                        } else {
                                error_code = TELEPHONY_ERROR_OPERATION_FAILED;