diff options
author | Seunghwan Lee <sh.cat.lee@samsung.com> | 2013-01-31 13:02:27 +0900 |
---|---|---|
committer | Seunghwan Lee <sh.cat.lee@samsung.com> | 2013-01-31 13:02:27 +0900 |
commit | c6118a297fb168acab20941af5a67ff503db6d5e (patch) | |
tree | c6f5a673341a05f8c552fa740d25923ea7d56d31 | |
parent | 8850f82aa15190e3f120b61c1e6e4d2395bc156b (diff) | |
download | msg-service-c6118a297fb168acab20941af5a67ff503db6d5e.tar.gz msg-service-c6118a297fb168acab20941af5a67ff503db6d5e.tar.bz2 msg-service-c6118a297fb168acab20941af5a67ff503db6d5e.zip |
Fixed Wrong set/get value in SendOpt set/get func
-rwxr-xr-x | mapi/msg_storage.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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; |