summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2016-02-13 00:42:49 +0100
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-02-13 00:42:49 +0100
commitb69d878b9a3967b247df30dc6f8a760f720659b7 (patch)
tree3c5fcbe1d356ae10317d7201f8d146e88291851a
parentMerge "imgdiff: don't fail if gzip is corrupted." (diff)
parentminadbd: update for adb_thread_create signature change. (diff)
downloadandroid_bootable_recovery-b69d878b9a3967b247df30dc6f8a760f720659b7.tar
android_bootable_recovery-b69d878b9a3967b247df30dc6f8a760f720659b7.tar.gz
android_bootable_recovery-b69d878b9a3967b247df30dc6f8a760f720659b7.tar.bz2
android_bootable_recovery-b69d878b9a3967b247df30dc6f8a760f720659b7.tar.lz
android_bootable_recovery-b69d878b9a3967b247df30dc6f8a760f720659b7.tar.xz
android_bootable_recovery-b69d878b9a3967b247df30dc6f8a760f720659b7.tar.zst
android_bootable_recovery-b69d878b9a3967b247df30dc6f8a760f720659b7.zip
-rw-r--r--minadbd/services.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/minadbd/services.cpp b/minadbd/services.cpp
index d25648fb4..658a43f36 100644
--- a/minadbd/services.cpp
+++ b/minadbd/services.cpp
@@ -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) {