projects
/
platform
/
core
/
appfw
/
rpc-port.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3493a23
)
Fix wrong condition of if statement
30/309230/1
author
Hwankyu Jhun
<h.jhun@samsung.com>
Mon, 8 Apr 2024 01:41:06 +0000
(10:41 +0900)
committer
Hwankyu Jhun
<h.jhun@samsung.com>
Mon, 8 Apr 2024 01:41:06 +0000
(10:41 +0900)
The condition of the if statement must be '!port_path_.empty()'.
Change-Id: Ic18f6cf743f2c94267462d0a2c5b61c577d63588
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/stub-internal.cc
patch
|
blob
|
history
diff --git
a/src/stub-internal.cc
b/src/stub-internal.cc
index 400e2d358df2973e1d06bc7b4c0981a21f2a4c5e..eccdd29eae2f65fdefe48722c5c4740c9b56fc19 100644
(file)
--- a/
src/stub-internal.cc
+++ b/
src/stub-internal.cc
@@
-108,7
+108,7
@@
Stub::~Stub() {
listener_ = nullptr;
server_.reset();
- if (port_path_.empty()) {
+ if (
!
port_path_.empty()) {
_W("Delete port path=%s", port_path_.c_str());
unlink(port_path_.c_str());
}