From: Michael R Sweet Date: Wed, 16 Apr 2025 16:30:32 +0000 (-0400) Subject: Clear realname, email, and autherror fields between requests (Issue #246) X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=82d46ebf05f5b76ae38148213551fa597d246f9f;p=thirdparty%2Fcups.git Clear realname, email, and autherror fields between requests (Issue #246) --- diff --git a/scheduler/client.c b/scheduler/client.c index d10cce3652..77beeb7c5d 100644 --- a/scheduler/client.c +++ b/scheduler/client.c @@ -651,12 +651,15 @@ cupsdReadClient(cupsd_client_t *con) /* I - Client to read from */ * Clear other state variables... */ - con->bytes = 0; - con->file = -1; - con->file_ready = 0; - con->pipe_pid = 0; - con->username[0] = '\0'; - con->password[0] = '\0'; + con->bytes = 0; + con->file = -1; + con->file_ready = 0; + con->pipe_pid = 0; + con->username[0] = '\0'; + con->password[0] = '\0'; + con->realname[0] = '\0'; + con->email[0] = '\0'; + con->autherror[0] = '\0'; cupsdClearString(&con->command); cupsdClearString(&con->options);