projects
/
platform
/
core
/
context
/
context-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
284b810
)
In MethodCall::reply(int), cast the in-param NULL while calling reply(GVariant*)
46/117046/1
author
Mu-Woong Lee
<muwoong.lee@samsung.com>
Thu, 2 Mar 2017 11:26:57 +0000
(20:26 +0900)
committer
Mu-Woong Lee
<muwoong.lee@samsung.com>
Thu, 2 Mar 2017 11:26:57 +0000
(20:26 +0900)
Change-Id: I1769fa2f0cbba63234e7ac8e59b48b6a1415afda
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
src/server/MethodCall.cpp
patch
|
blob
|
history
diff --git
a/src/server/MethodCall.cpp
b/src/server/MethodCall.cpp
index
5fa6e1d
..
72919a8
100644
(file)
--- a/
src/server/MethodCall.cpp
+++ b/
src/server/MethodCall.cpp
@@
-71,7
+71,7
@@
bool MethodCall::reply(int error)
IF_FAIL_RETURN_TAG(__invocation, false, _D, "Replied already");
if (error == E_NONE)
- return reply(
NULL
);
+ return reply(
static_cast<GVariant*>(NULL)
);
g_dbus_method_invocation_return_error_literal(__invocation, CTX_ERROR_DOMAIN, error, "");
__invocation = NULL;