From 01e2290b55d1fcf1726f17f98361e413ab4f7972 Mon Sep 17 00:00:00 2001 From: Rose <83477269+AtariDreams@users.noreply.github.com> Date: Mon, 30 Aug 2021 14:05:53 -0400 Subject: [PATCH] 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. --- scheduler/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ } -- 2.47.2