OSDN Git Service
(root)
/
android-x86
/
hardware-ril.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07b1732
)
Retire socket_loopback_client.
author
Elliott Hughes
<enh@google.com>
Tue, 11 Oct 2016 20:50:06 +0000
(13:50 -0700)
committer
Elliott Hughes
<enh@google.com>
Tue, 11 Oct 2016 20:50:06 +0000
(13:50 -0700)
Making the world safe for IPv6.
Bug: http://b/
31537253
Test: builds
Change-Id: If8478aec17892f49e856d6220b72e4585ee9c078
reference-ril/reference-ril.c
patch
|
blob
|
history
diff --git
a/reference-ril/reference-ril.c
b/reference-ril/reference-ril.c
index
db45299
..
6d694e3
100644
(file)
--- a/
reference-ril/reference-ril.c
+++ b/
reference-ril/reference-ril.c
@@
-3311,7
+3311,7
@@
mainLoop(void *param __unused)
if (isInEmulator()) {
fd = qemu_pipe_open("pipe:qemud:gsm");
} else if (s_port > 0) {
- fd = socket_
loopback_client(
s_port, SOCK_STREAM);
+ fd = socket_
network_client("localhost",
s_port, SOCK_STREAM);
} else if (s_device_socket) {
fd = socket_local_client(s_device_path,
ANDROID_SOCKET_NAMESPACE_FILESYSTEM,