summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2022-04-08 12:59:40 +0200
committerJoel Rosdahl <joel@rosdahl.net>2022-04-08 12:59:40 +0200
commita9b30fd3b9cf67b1c937579478f30c6e6d4a4325 (patch)
tree5556dfeba69f7cf21bd02b8f82603ecd6a4d2f08
parent5a55014f0c208bff61b8fe0eb1533c210553dd13 (diff)
downloadccache-a9b30fd3b9cf67b1c937579478f30c6e6d4a4325.tar.gz
fix: Fix code restructuring mistake in 5a55014f
-rw-r--r--src/ccache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ccache.cpp b/src/ccache.cpp
index bf6698da..175160e0 100644
--- a/src/ccache.cpp
+++ b/src/ccache.cpp
@@ -590,8 +590,8 @@ process_preprocessed_file(Context& ctx, Hash& hash, const std::string& path)
"bin directive in source code");
return nonstd::make_unexpected(
Failure(Statistic::unsupported_code_directive));
- } else if (strncmp(q, "___________", 10)
- && (q == data.data() || q[-1] == '\n') == 0) {
+ } else if (strncmp(q, "___________", 10) == 0
+ && (q == data.data() || q[-1] == '\n')) {
// Unfortunately the distcc-pump wrapper outputs standard output lines:
// __________Using distcc-pump from /usr/bin
// __________Using # distcc servers in pump mode