Skip to content

Commit 0145106

Browse files
committed
Fix the default User-Agent string sent in requests.
1 parent eea9373 commit 0145106

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

CHANGES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Changes in libcups
22
==================
33

4+
libcups v3.0.0 (Month DD, YYYY)
5+
-------------------------------
6+
7+
- Fixed the default User-Agent string sent in requests.
8+
9+
410
libcups v3.0rc1 (September 20, 2024)
511
------------------------------------
612

cups/usersys.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,8 @@ cupsSetUserAgent(const char *user_agent)// I - User-Agent string or `NULL`
486486
cupsCopyString(cg->user_agent, "CUPS/" LIBCUPS_VERSION " IPP/2.0", sizeof(cg->user_agent));
487487
break;
488488
}
489+
490+
return;
489491
}
490492

491493
#ifdef _WIN32

0 commit comments

Comments
 (0)