Revert "Add more debug information."
This reverts commit 8693bc7abd39f9dcd4b73bdd43054de450a45a03.
Change-Id: I7e6df6c155d9a7544c860b21bcb31c4e04d122e7
diff --git a/adb/services.c b/adb/services.c
index bf2f2c3..e61371a 100644
--- a/adb/services.c
+++ b/adb/services.c
@@ -164,7 +164,6 @@
printf("cannot create service socket pair\n");
return -1;
}
- D("socketpair: (%d,%d)", s[0], s[1]);
sti = malloc(sizeof(stinfo));
if(sti == 0) fatal("cannot allocate stinfo");
@@ -265,11 +264,10 @@
// 0 is parent socket, 1 is child socket
int sv[2];
- if (adb_socketpair(sv) < 0) {
+ if (unix_socketpair(AF_UNIX, SOCK_STREAM, 0, sv) < 0) {
printf("[ cannot create socket pair - %s ]\n", strerror(errno));
return -1;
}
- D("socketpair: (%d,%d)", sv[0], sv[1]);
*pid = fork();
if (*pid < 0) {