From: Denis Kenzior Date: Wed, 2 Jan 2013 03:03:23 +0000 (-0600) Subject: Revert "stk: Fix crash in SIM refresh handling" X-Git-Tag: 1.13~277 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e744f9159d0bceab4e7ec4073cb2f62f4f2e06d8;p=platform%2Fupstream%2Fofono.git Revert "stk: Fix crash in SIM refresh handling" This reverts commit dfd1fae50b8197b0b4ed81fed3139726e4ae1bf5. --- diff --git a/src/stk.c b/src/stk.c index 5ca0250..6278930 100644 --- a/src/stk.c +++ b/src/stk.c @@ -2318,7 +2318,7 @@ static gboolean handle_command_refresh(const struct stk_command *cmd, g_slist_foreach(file_list, (GFunc) g_free, NULL); g_slist_free(file_list); - return TRUE; + return FALSE; } rsp->result.type = STK_RESULT_TYPE_NOT_CAPABLE; @@ -3095,7 +3095,7 @@ void ofono_stk_proactive_command_handled_notify(struct ofono_stk *stk, break; case STK_COMMAND_TYPE_REFRESH: - ok = handle_command_refresh(stk->pending_cmd, NULL, stk); + handle_command_refresh(stk->pending_cmd, NULL, stk); break; }