diff options
author | Dan Albert <danalbert@google.com> | 2015-02-19 01:28:51 +0100 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-02-19 01:28:51 +0100 |
commit | 43162fe50cb2e2e7861df97380fad815a54dac2e (patch) | |
tree | 53db4b10db248bbb5e2aa6d3e18ca7f9ec6e506b /minadbd/services.c | |
parent | am bbf627a6: Merge "Remove unused code." (diff) | |
parent | Merge "Use headers from adb." (diff) | |
download | android_bootable_recovery-43162fe50cb2e2e7861df97380fad815a54dac2e.tar android_bootable_recovery-43162fe50cb2e2e7861df97380fad815a54dac2e.tar.gz android_bootable_recovery-43162fe50cb2e2e7861df97380fad815a54dac2e.tar.bz2 android_bootable_recovery-43162fe50cb2e2e7861df97380fad815a54dac2e.tar.lz android_bootable_recovery-43162fe50cb2e2e7861df97380fad815a54dac2e.tar.xz android_bootable_recovery-43162fe50cb2e2e7861df97380fad815a54dac2e.tar.zst android_bootable_recovery-43162fe50cb2e2e7861df97380fad815a54dac2e.zip |
Diffstat (limited to 'minadbd/services.c')
-rw-r--r-- | minadbd/services.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/minadbd/services.c b/minadbd/services.c index 218b84a38..2a52eebae 100644 --- a/minadbd/services.c +++ b/minadbd/services.c @@ -47,9 +47,9 @@ void *service_bootstrap_func(void *x) static void sideload_host_service(int sfd, void* cookie) { char* saveptr; - const char* s = strtok_r(cookie, ":", &saveptr); + const char* s = adb_strtok_r(cookie, ":", &saveptr); uint64_t file_size = strtoull(s, NULL, 10); - s = strtok_r(NULL, ":", &saveptr); + s = adb_strtok_r(NULL, ":", &saveptr); uint32_t block_size = strtoul(s, NULL, 10); printf("sideload-host file size %llu block size %lu\n", file_size, block_size); |