]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
fix: Fix code restructuring mistake in 5a55014f
authorJoel Rosdahl <joel@rosdahl.net>
Fri, 8 Apr 2022 10:59:40 +0000 (12:59 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Fri, 8 Apr 2022 10:59:40 +0000 (12:59 +0200)
src/ccache.cpp

index bf6698daf2b88214c77614f825bdad76d6345a47..175160e00b133e4377762dc5dbc549de8efbe570 100644 (file)
@@ -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