summaryrefslogtreecommitdiff
path: root/cups/request.c
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2018-09-14 14:58:35 -0400
committerMichael R Sweet <michael.r.sweet@gmail.com>2018-09-14 14:58:35 -0400
commit5737d5eba4ed4b376555b8c8de0c58ed8f598bb7 (patch)
tree8515edabd91421c1d2ff6548d9e788f4d2679007 /cups/request.c
parent16f67389a8533e9572149189a1340b737fe98a20 (diff)
downloadcups-5737d5eba4ed4b376555b8c8de0c58ed8f598bb7.tar.gz
More Digest changes.
Diffstat (limited to 'cups/request.c')
-rw-r--r--cups/request.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/cups/request.c b/cups/request.c
index 924bb6fc0..e58beceeb 100644
--- a/cups/request.c
+++ b/cups/request.c
@@ -686,16 +686,7 @@ cupsSendRequest(http_t *http, /* I - Connection to server or @code CUPS_HTTP
* Update the Digest authentication string...
*/
- if (http->nextnonce[0])
- {
- strlcpy(http->nonce, http->nextnonce, sizeof(http->nonce));
- http->nonce_count = 1;
- http->nextnonce[0] = '\0';
- }
- else
- http->nonce_count ++;
-
- _httpSetDigestAuthString(http, "POST", resource);
+ _httpSetDigestAuthString(http, http->nextnonce, "POST", resource);
}
#ifdef HAVE_GSSAPI