]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix typo in workaround.
authorMichael R Sweet <msweet@msweet.org>
Wed, 14 Feb 2024 15:26:07 +0000 (10:26 -0500)
committerMichael R Sweet <msweet@msweet.org>
Wed, 14 Feb 2024 15:26:07 +0000 (10:26 -0500)
cups/testhttp.c

index 6dcdfb8384c59865184432cfad32fea97d7dc95f..77a42727715b6467a0a43e078d4fc20f34ac2ea7 100644 (file)
@@ -371,7 +371,7 @@ main(int  argc,                             // I - Number of command-line arguments
     {
       testEndMessage(true, "ignored because hostname is numeric");
     }
-    else if (strncmp(hostname, "mac-", 4) && isdigit(hostname[4]))
+    else if (!strncmp(hostname, "mac-", 4) && isdigit(hostname[4]))
     {
       testEndMessage(true, "ignored because GitHub Actions macOS runner doesn't resolve its own hostname");
     }