projects
/
framework
/
osp
/
messaging.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06526b9
)
checking the error for open handler
author
Byounghui
<byounghui.lim@samsung.com>
Mon, 16 Sep 2013 02:08:34 +0000
(11:08 +0900)
committer
Byounghui
<byounghui.lim@samsung.com>
Mon, 16 Sep 2013 02:08:34 +0000
(11:08 +0900)
Change-Id: I1ea0af33487c75c33f57d5bfd40bed1b9870d9e4
Signed-off-by: Byounghui <byounghui.lim@samsung.com>
src/FMsg_SmsMmsCallbackHandler.cpp
patch
|
blob
|
history
diff --git
a/src/FMsg_SmsMmsCallbackHandler.cpp
b/src/FMsg_SmsMmsCallbackHandler.cpp
index
4251179
..
fd3b1bd
100644
(file)
--- a/
src/FMsg_SmsMmsCallbackHandler.cpp
+++ b/
src/FMsg_SmsMmsCallbackHandler.cpp
@@
-179,6
+179,10
@@
_SmsMmsCallbackHandler::OpenMessageHandle(msg_handle_t& messageHandle)
if (!__msgHandle)
{
err = msg_open_msg_handle(&__msgHandle);
+ if ( err != MSG_SUCCESS )
+ {
+ __msgHandle = null;
+ }
}
messageHandle = __msgHandle;