From: Michael R Sweet Date: Thu, 3 Oct 2024 21:51:21 +0000 (-0400) Subject: Fix the default User-Agent string sent in requests. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fe9af588a47055522606ee04fa7efb7e19a01da;p=thirdparty%2Fcups.git Fix the default User-Agent string sent in requests. --- diff --git a/cups/usersys.c b/cups/usersys.c index 4c6e077572..9a9b690131 100644 --- a/cups/usersys.c +++ b/cups/usersys.c @@ -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