Skip to content

Commit

Permalink
Update adb.c
Browse files Browse the repository at this point in the history
actually start the adb shell
  • Loading branch information
ztNFny authored and FauxFaux committed Oct 10, 2012
1 parent 3761e0a commit cc46746
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions adb.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,8 @@ static const char *adb_init(void *frontend_handle, void **backend_handle,
sprintf(sendbuf,"%04x" ADB_SHELL_SERIAL_PREFIX, len+ADB_SHELL_SERIAL_PREFIX_LEN);
memcpy(sendbuf+4+ADB_SHELL_SERIAL_PREFIX_LEN, host, len);
sk_write(adb->s,sendbuf,len+4+ADB_SHELL_SERIAL_PREFIX_LEN);
sk_flush(adb->s);
adb->state = 1;
}
} while (0);
return NULL;
Expand Down

0 comments on commit cc46746

Please sign in to comment.