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:
22edf85
)
Remove duplicated code in Sock implementation
91/180891/1
author
Piotr Sawicki
<p.sawicki2@partner.samsung.com>
Tue, 5 Jun 2018 08:18:55 +0000
(10:18 +0200)
committer
Piotr Sawicki
<p.sawicki2@partner.samsung.com>
Tue, 5 Jun 2018 08:18:55 +0000
(10:18 +0200)
Change-Id: Ibf2e6465216880831bfb4b0457858ec1ec584245
src/ipc/sock.cpp
patch
|
blob
|
history
diff --git
a/src/ipc/sock.cpp
b/src/ipc/sock.cpp
index 99c21b4e678c78dcef04f6d88cbc6b7f8980d619..bcaebcf24c7c15fa4e063070a920dd06da877310 100644
(file)
--- a/
src/ipc/sock.cpp
+++ b/
src/ipc/sock.cpp
@@
-166,10
+166,6
@@
int Sock::connect(const std::string &path) {
remote.sun_family = AF_UNIX;
if (path.size() >= sizeof(remote.sun_path)) {
close();
- ALOGE("Too long address (path) for UNIX socket");
- return -1;
- }
- if (path.size() >= sizeof(remote.sun_path)) {
ALOGE("Path " << path << " is too long");
return -1;
}