]> 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:51:21 +0000 (17:51 -0400)
committerMichael R Sweet <msweet@msweet.org>
Thu, 3 Oct 2024 21:51:21 +0000 (17:51 -0400)
cups/usersys.c

index 4c6e077572eb98c7fc7d80c7383b9d92ae4e1189..9a9b69013175806151afd29c4078bb1ca7a06042 100644 (file)
@@ -647,6 +647,7 @@ cupsSetUserAgent(const char *user_agent)/* I - User-Agent string or @code NULL@
          cupsCopyString(cg->user_agent, CUPS_MINIMAL " IPP/2.1", sizeof(cg->user_agent));
          break;
     }
+    return;
   }
 
 #ifdef _WIN32