From 7377eb74961e13b51acda1b0f8d765984a09c3f0 Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Fri, 2 Oct 2020 14:59:32 +0300 Subject: minor performance improvements on build and code --- src/app_adbdump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/app_adbdump.c') 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"); -- cgit v1.2.3-70-g09d2