summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2016-02-13 00:00:52 +0100
committerJosh Gao <jmgao@google.com>2016-02-23 00:44:53 +0100
commitcd324766ab2a73af4106f65cd53dc0a91de5e2e9 (patch)
tree7731ee61cdc1bf3c999854f12d47f290a778de74
parentFix verifier test base testdata directory after merge conflict (diff)
downloadandroid_bootable_recovery-cd324766ab2a73af4106f65cd53dc0a91de5e2e9.tar
android_bootable_recovery-cd324766ab2a73af4106f65cd53dc0a91de5e2e9.tar.gz
android_bootable_recovery-cd324766ab2a73af4106f65cd53dc0a91de5e2e9.tar.bz2
android_bootable_recovery-cd324766ab2a73af4106f65cd53dc0a91de5e2e9.tar.lz
android_bootable_recovery-cd324766ab2a73af4106f65cd53dc0a91de5e2e9.tar.xz
android_bootable_recovery-cd324766ab2a73af4106f65cd53dc0a91de5e2e9.tar.zst
android_bootable_recovery-cd324766ab2a73af4106f65cd53dc0a91de5e2e9.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) {