projects
/
platform
/
core
/
security
/
askuser.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f89419
)
Remove superfluous check in Sock
82/138182/5
author
Piotr Sawicki
<p.sawicki2@partner.samsung.com>
Tue, 11 Jul 2017 07:00:29 +0000
(09:00 +0200)
committer
Zofia Abramowska
<z.abramowska@samsung.com>
Wed, 12 Jul 2017 15:59:22 +0000
(15:59 +0000)
Change-Id: I160c69f448e0b3b92061392ed5729a7c3e97ce70
src/ipc-lib/sock.cpp
patch
|
blob
|
history
diff --git
a/src/ipc-lib/sock.cpp
b/src/ipc-lib/sock.cpp
index
fccce16
..
fe8f22b
100644
(file)
--- a/
src/ipc-lib/sock.cpp
+++ b/
src/ipc-lib/sock.cpp
@@
-126,10
+126,6
@@
int Sock::connect(const std::string &path) {
break;
}
- if (m_fd != -1) {
- return -1;
- }
-
if (policySystemD) {
m_fd = getSocketFromSystemD();
if (m_fd >= 0) {