summaryrefslogtreecommitdiffstats
path: root/minadbd
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2016-02-13 02:32:02 +0100
committerandroid-build-merger <android-build-merger@google.com>2016-02-13 02:32:02 +0100
commitba9765b05869f7783e55f9c6ee66b191898f563a (patch)
tree76e3a90863827660dcb50945576dbe4fe9b38a5b /minadbd
parentMerge "imgdiff: don\'t fail if gzip is corrupted." (diff)
parentMerge "minadbd: update for adb_thread_create signature change." (diff)
downloadandroid_bootable_recovery-ba9765b05869f7783e55f9c6ee66b191898f563a.tar
android_bootable_recovery-ba9765b05869f7783e55f9c6ee66b191898f563a.tar.gz
android_bootable_recovery-ba9765b05869f7783e55f9c6ee66b191898f563a.tar.bz2
android_bootable_recovery-ba9765b05869f7783e55f9c6ee66b191898f563a.tar.lz
android_bootable_recovery-ba9765b05869f7783e55f9c6ee66b191898f563a.tar.xz
android_bootable_recovery-ba9765b05869f7783e55f9c6ee66b191898f563a.tar.zst
android_bootable_recovery-ba9765b05869f7783e55f9c6ee66b191898f563a.zip
Diffstat (limited to 'minadbd')
-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) {