diff options
Diffstat (limited to 'adb/transport.c')
-rw-r--r-- | adb/transport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/adb/transport.c b/adb/transport.c index c9e7752..617dabf 100644 --- a/adb/transport.c +++ b/adb/transport.c @@ -849,11 +849,11 @@ void close_usb_devices() } #endif // ADB_HOST -void register_socket_transport(int s, const char *serial, int port) +void register_socket_transport(int s, const char *serial, int port, int local) { atransport *t = calloc(1, sizeof(atransport)); D("transport: %p init'ing for socket %d, on port %d\n", t, s, port); - if ( init_socket_transport(t, s, port) < 0 ) { + if ( init_socket_transport(t, s, port, local) < 0 ) { adb_close(s); free(t); return; |