From: Caiwen Zhang Date: Sat, 8 Jun 2013 18:13:49 +0000 (+0800) Subject: s_ss: fix change call barring password response struct incorrect issue X-Git-Tag: accepted/tizen/20131007.095414~12 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Ftelephony%2Ftel-plugin-imc.git;a=commitdiff_plain;h=e08b981d6d1a1dbded83d194a0c46b486e85d7da s_ss: fix change call barring password response struct incorrect issue change call barring password should return tresp_ss_general Change-Id: I1896235e34c09fa47dbd607a19206ed43379ede4 --- diff --git a/src/s_ss.c b/src/s_ss.c index e55b133..a75fe00 100755 --- a/src/s_ss.c +++ b/src/s_ss.c @@ -685,7 +685,7 @@ static void on_response_ss_barring_change_pwd(TcorePending *p, int data_len, con const TcoreATResponse *response = data; struct ss_confirm_info *info = 0; UserRequest *ur; - struct tresp_ss_barring resp; + struct tresp_ss_general resp; int err; GSList *tokens = NULL; const char *line; @@ -716,7 +716,7 @@ static void on_response_ss_barring_change_pwd(TcorePending *p, int data_len, con dbg("on_response_ss_barring_change_pwd: rsp.err : %d, usr : %x", resp.err, ur); if (ur) { - tcore_user_request_send_response(ur, info->resp, sizeof(struct tresp_ss_barring), &resp); + tcore_user_request_send_response(ur, info->resp, sizeof(struct tresp_ss_general), &resp); } else { dbg("[ error ] ur is 0"); }