From: Rose <83477269+AtariDreams@users.noreply.github.com> Date: Mon, 30 Aug 2021 18:05:53 +0000 (-0400) Subject: Fix bug that removes language instead of country code X-Git-Tag: v2.4b1~81^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F232%2Fhead;p=thirdparty%2Fcups.git Fix bug that removes language instead of country code Because of this bug, the two if branches were identical and the do while loop was only running once. --- diff --git a/scheduler/client.c b/scheduler/client.c index c61234072b..e709ca2674 100644 --- a/scheduler/client.c +++ b/scheduler/client.c @@ -2934,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 */ }