]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix the default User-Agent string sent in requests.
authorMichael R Sweet <msweet@msweet.org>
Thu, 3 Oct 2024 21:50:53 +0000 (17:50 -0400)
committerMichael R Sweet <msweet@msweet.org>
Thu, 3 Oct 2024 21:50:53 +0000 (17:50 -0400)
CHANGES.md
cups/usersys.c

index 396d634d7f173311221e54f95e486b879a0d8fae..3ceaadeb508d7e983d765ec1744a08280b8dae7e 100644 (file)
@@ -5,6 +5,8 @@ CHANGES - OpenPrinting CUPS
 Changes in CUPS v2.4.12 (YYYY-MM-DD)
 ------------------------------------
 
+- Fixed the default User-Agent string.
+
 
 Changes in CUPS v2.4.11 (2024-09-30)
 ------------------------------------
index 1b347cb7cadcf6746c2bb245c5bc488c7eb02a67..f752159b0902fce9ba236feb10cf6fb2f32e44d8 100644 (file)
@@ -586,6 +586,7 @@ cupsSetUserAgent(const char *user_agent)/* I - User-Agent string or @code NULL@
          strlcpy(cg->user_agent, CUPS_MINIMAL " IPP/2.1", sizeof(cg->user_agent));
          break;
     }
+    return;
   }
 
 #ifdef _WIN32