projects
/
framework
/
messaging
/
msg-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
607772a
)
Modify msg_submit_req return value.
author
Keebum Kim
<keebum.kim@samsung.com>
Fri, 7 Jun 2013 05:16:48 +0000
(14:16 +0900)
committer
Keebum Kim
<keebum.kim@samsung.com>
Fri, 7 Jun 2013 05:16:48 +0000
(14:16 +0900)
Change-Id: Iaf2f37e09c8ab4f4d7ea7038563d2e9662bfbbc1
mapi/msg_transport.cpp
patch
|
blob
|
history
diff --git
a/mapi/msg_transport.cpp
b/mapi/msg_transport.cpp
index
880e168
..
8b27132
100755
(executable)
--- a/
mapi/msg_transport.cpp
+++ b/
mapi/msg_transport.cpp
@@
-49,7
+49,11
@@
EXPORT_API int msg_submit_req(msg_handle_t handle, msg_struct_t req)
catch (MsgException& e)
{
MSG_FATAL("%s", e.what());
- return MSG_ERR_TRANSPORT_ERROR;
+
+ if ((e.errorCode() == MsgException::IPC_ERROR) || (e.errorCode() == MsgException::FILE_ERROR))
+ return MSG_ERR_STORAGE_ERROR;
+ else
+ return MSG_ERR_TRANSPORT_ERROR;
}
return err;