We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25bf392 commit 22f8fbaCopy full SHA for 22f8fba
1 file changed
backend/dnssd.c
@@ -1,7 +1,7 @@
1
//
2
// DNS-SD discovery backend for CUPS.
3
4
-// Copyright © 2020-2024 by OpenPrinting.
+// Copyright © 2020-2025 by OpenPrinting.
5
// Copyright © 2008-2018 by Apple Inc.
6
7
// Licensed under Apache License v2.0. See the file "LICENSE" for more
@@ -666,7 +666,7 @@ query_callback(
666
if (device->make_and_model)
667
free(device->make_and_model);
668
669
- if (make_and_model[0])
+ if (make_and_model[0] && strncmp(make_and_model, model, strlen(make_and_model)))
670
{
671
cupsConcatString(make_and_model, " ", sizeof(make_and_model));
672
cupsConcatString(make_and_model, model, sizeof(make_and_model));
0 commit comments