From: Seunghwan Lee Date: Thu, 31 Jan 2013 04:02:27 +0000 (+0900) Subject: Fixed Wrong set/get value in SendOpt set/get func X-Git-Tag: accepted/tizen_2.1/20130425.035101~14^2~14^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c6118a297fb168acab20941af5a67ff503db6d5e;p=framework%2Fmessaging%2Fmsg-service.git Fixed Wrong set/get value in SendOpt set/get func --- diff --git a/mapi/msg_storage.cpp b/mapi/msg_storage.cpp index ef0f239..0c91d73 100755 --- a/mapi/msg_storage.cpp +++ b/mapi/msg_storage.cpp @@ -1706,10 +1706,10 @@ bool msg_sendopt_get_bool(void *send_opt, int field) switch(field) { case MSG_SEND_OPT_SETTING_BOOL: - result = sendopt->bDeliverReq; + result = sendopt->bSetting; break; case MSG_SEND_OPT_KEEPCOPY_BOOL: - result = sendopt->bDeliverReq; + result = sendopt->bKeepCopy; break; case MSG_SEND_OPT_DELIVER_REQ_BOOL: result = sendopt->bDeliverReq; @@ -2213,10 +2213,10 @@ int msg_sendopt_set_bool(void *send_opt, int field, bool value) switch(field) { case MSG_SEND_OPT_SETTING_BOOL: - sendopt->bDeliverReq = value; + sendopt->bSetting = value; break; case MSG_SEND_OPT_KEEPCOPY_BOOL: - sendopt->bDeliverReq = value; + sendopt->bKeepCopy = value; break; case MSG_SEND_OPT_DELIVER_REQ_BOOL: sendopt->bDeliverReq = value;