Merge "minadbd: update for adb_thread_create signature change."

This commit is contained in:
Josh Gao
2016-02-12 23:42:49 +00:00
committed by Gerrit Code Review
+1 -2
View File
@@ -35,11 +35,10 @@ struct stinfo {
void *cookie; void *cookie;
}; };
void* service_bootstrap_func(void* x) { void service_bootstrap_func(void* x) {
stinfo* sti = reinterpret_cast<stinfo*>(x); stinfo* sti = reinterpret_cast<stinfo*>(x);
sti->func(sti->fd, sti->cookie); sti->func(sti->fd, sti->cookie);
free(sti); free(sti);
return 0;
} }
static void sideload_host_service(int sfd, void* data) { static void sideload_host_service(int sfd, void* data) {