From bb8d87505949fcfaf7de229b7f6715844f8d0bb0 Mon Sep 17 00:00:00 2001 From: Martchus Date: Fri, 7 Apr 2023 19:15:50 +0200 Subject: [PATCH] Apply clang-format --- libpkg/parser/binary.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libpkg/parser/binary.cpp b/libpkg/parser/binary.cpp index 82f1367..3df8b3c 100644 --- a/libpkg/parser/binary.cpp +++ b/libpkg/parser/binary.cpp @@ -223,8 +223,8 @@ void Binary::load(std::string_view fileContent, std::string_view fileName, std:: // add prefix to Android and compat libs to avoid confusion with normal GNU/Linux ELFs // note: Relying on the path is not nice. Have Android libs any special header to be distinguishable? if (directoryPath.starts_with("opt/android-libs") - || (directoryPath.starts_with("opt/android-ndk") && (directoryPath.find("/sysroot/") != std::string::npos - || directoryPath.find("/lib/linux/") != std::string::npos))) { + || (directoryPath.starts_with("opt/android-ndk") + && (directoryPath.find("/sysroot/") != std::string::npos || directoryPath.find("/lib/linux/") != std::string::npos))) { extraPrefix = "android-"; } else if (directoryPath.starts_with("usr/static-compat/lib") && fileName.find(".so") != std::string::npos) { extraPrefix = "static-compat-";