minadbd: update for adb_thread_create signature change.

Change-Id: Ifa0b4d8c1cf0bb39abac61984ff165e82e41222c
(cherry picked from commit cc07b35565)
This commit is contained in:
Josh Gao
2016-02-12 15:00:52 -08:00
parent e1305768f6
commit cd324766ab

View File

@@ -35,11 +35,10 @@ struct stinfo {
void *cookie;
};
void* service_bootstrap_func(void* x) {
void service_bootstrap_func(void* x) {
stinfo* sti = reinterpret_cast<stinfo*>(x);
sti->func(sti->fd, sti->cookie);
free(sti);
return 0;
}
static void sideload_host_service(int sfd, void* data) {