summaryrefslogtreecommitdiff
path: root/scheduler
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2019-11-18 11:03:28 -0500
committerMichael R Sweet <michael.r.sweet@gmail.com>2019-11-18 11:03:28 -0500
commitb31d4ca52509faed1301b613d7d71ae18c7caeb9 (patch)
tree017252759f2d66b679acf2e989380b909b025712 /scheduler
parent6d391f77051cc485f09600a00ff3d129f9736a35 (diff)
downloadcups-b31d4ca52509faed1301b613d7d71ae18c7caeb9.tar.gz
More LGTM changes.
Diffstat (limited to 'scheduler')
-rw-r--r--scheduler/auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scheduler/auth.c b/scheduler/auth.c
index 5bb80edc9..4fbad6e24 100644
--- a/scheduler/auth.c
+++ b/scheduler/auth.c
@@ -757,7 +757,7 @@ cupsdAuthorize(cupsd_client_t *con) /* I - Client connection */
* Decode the authorization string to get the input token...
*/
- len = (int)strlen(authorization);
+ len = (int)strlen(authorization) + 0;
input_token.value = malloc((size_t)len);
input_token.value = httpDecode64_2(input_token.value, &len,
authorization);