From ed8a662c02017e60635292cae49fdba1c7f9b4d0 Mon Sep 17 00:00:00 2001 From: Somin Kim Date: Tue, 8 Sep 2015 15:22:28 +0900 Subject: [PATCH] Allow empty phone address Change-Id: I270a601f39572c9ef409fbfe8250003212cc4ac4 Signed-off-by: Mu-Woong Signed-off-by: Somin Kim --- src/social_status/call.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/social_status/call.cpp b/src/social_status/call.cpp index 53daca3..263ad5b 100644 --- a/src/social_status/call.cpp +++ b/src/social_status/call.cpp @@ -179,7 +179,8 @@ bool ctx::social_status_call::get_call_address(std::string& address) { address.clear(); tel_get_call_status_all(tapi_handle, call_status_cb, &address); - IF_FAIL_RETURN_TAG(!address.empty(), false, _W, "Getting address failed"); + /* FIXME: 'address' should not be empty, if the telephony works properly */ + IF_FAIL_RETURN_TAG(!address.empty(), true, _W, "Getting address failed"); return true; } -- 2.7.4