]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix syntax error: !== is not valid C, use ! 1649/head
authorHisam Mehboob <153192019+hissamshar@users.noreply.github.com>
Sat, 11 Jul 2026 14:03:12 +0000 (19:03 +0500)
committerGitHub <noreply@github.com>
Sat, 11 Jul 2026 14:03:12 +0000 (19:03 +0500)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
scheduler/job.c

index df4e3f68c8ce6590b59045d95414c78448ab28e4..85c4d0462b82d372cf4d331ec57f58a9dbf7cb91 100644 (file)
@@ -3787,7 +3787,7 @@ get_options(cupsd_job_t *job,             /* I - Job */
     }
 
     have_size   = ippFindAttribute(job->attrs, "PageRegion", IPP_TAG_ZERO) != NULL || ippFindAttribute(job->attrs, "PageSize", IPP_TAG_ZERO) != NULL;
-    have_source = ippFindAttribute(job->attrs, "InputSlot", IPP_TAG_ZERO) != NULL || ippFindAttribute(job->attrs, "HPPaperSource", IPP_TAG_ZERO) !== NULL;
+    have_source = ippFindAttribute(job->attrs, "InputSlot", IPP_TAG_ZERO) != NULL || ippFindAttribute(job->attrs, "HPPaperSource", IPP_TAG_ZERO) != NULL;
     have_type   = ippFindAttribute(job->attrs, "MediaType", IPP_TAG_ZERO) != NULL;
 
     if (banner_page && (attr = ippFindAttribute(job->attrs, "job-sheets-col", IPP_TAG_BEGIN_COLLECTION)) != NULL)