diff options
author | Alfonso Gregory <83477269+AtariDreams@users.noreply.github.com> | 2021-08-30 15:06:40 -0400 |
---|---|---|
committer | Alfonso Gregory <83477269+AtariDreams@users.noreply.github.com> | 2021-08-30 15:08:06 -0400 |
commit | 630267c66bb22e6b5835975cffd63e6cd76fa05e (patch) | |
tree | cbebfbd101da733f5308c0405995106311c1cfde | |
parent | 67654f6346ec8b510cc7889a19409983dbfc6b7d (diff) | |
download | cups-630267c66bb22e6b5835975cffd63e6cd76fa05e.tar.gz |
Fix bug that removes language instead of country code
-rw-r--r-- | scheduler/client.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scheduler/client.c b/scheduler/client.c index 479b70aed..ba54117e6 100644 --- a/scheduler/client.c +++ b/scheduler/client.c @@ -1,8 +1,9 @@ /* * Client routines for the CUPS scheduler. * - * Copyright © 2007-2019 by Apple Inc. - * Copyright © 1997-2007 by Easy Software Products, all rights reserved. + * Copyright © 2021 by OpenPrinting. + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 1997-2007 by Easy Software Products, all rights reserved. * * This file contains Kerberos support code, copyright 2006 by * Jelmer Vernooij. @@ -2933,7 +2934,7 @@ get_file(cupsd_client_t *con, /* I - Client connection */ */ if (language[3]) - language[0] = '\0'; /* Strip country code */ + language[3] = '\0'; /* Strip country code */ else language[0] = '\0'; /* Strip language */ } |