diff options
author | Timo Teräs <timo.teras@iki.fi> | 2020-10-02 14:59:32 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2020-10-02 14:59:32 +0300 |
commit | 7377eb74961e13b51acda1b0f8d765984a09c3f0 (patch) | |
tree | 62225bcd46dd4bf4dae46c3c0a540787710faa5e /src/app_adbdump.c | |
parent | 3c6cac294ee010208b556670548d45866ecd536e (diff) | |
download | apk-tools-7377eb74961e13b51acda1b0f8d765984a09c3f0.tar.gz apk-tools-7377eb74961e13b51acda1b0f8d765984a09c3f0.tar.bz2 apk-tools-7377eb74961e13b51acda1b0f8d765984a09c3f0.tar.xz apk-tools-7377eb74961e13b51acda1b0f8d765984a09c3f0.zip |
minor performance improvements on build and code
Diffstat (limited to 'src/app_adbdump.c')
-rw-r--r-- | src/app_adbdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app_adbdump.c b/src/app_adbdump.c index 3914563..6e42a55 100644 --- a/src/app_adbdump.c +++ b/src/app_adbdump.c @@ -93,7 +93,7 @@ static void dump_item(struct adb_dump_ctx *ctx, const char *name, const uint8_t if (!APK_BLOB_IS_NULL(b)) { fputs(ctx->prefix, stdout); if (name) fprintf(stdout, "%s: ", name); - if (b.len >= 60 || apk_blob_chr(b, '\n')) { + if (b.len >= 60 || scalar->multiline) { /* long or multiline */ apk_blob_t l; fprintf(stdout, "|\n"); |