mirror of
https://github.com/curl/curl.git
synced 2026-08-02 11:00:27 +03:00
fix print formatting string directives
This commit is contained in:
parent
c0f3e32447
commit
3dcd2b82c4
9 changed files with 28 additions and 25 deletions
|
|
@ -293,7 +293,7 @@ CURLcode Curl_output_digest(struct connectdata *conn,
|
|||
if(!d->cnonce) {
|
||||
/* Generate a cnonce */
|
||||
now = Curl_tvnow();
|
||||
snprintf(cnoncebuf, sizeof(cnoncebuf), "%06ld", now.tv_sec);
|
||||
snprintf(cnoncebuf, sizeof(cnoncebuf), "%06ld", (long)now.tv_sec);
|
||||
if(Curl_base64_encode(data, cnoncebuf, strlen(cnoncebuf), &cnonce))
|
||||
d->cnonce = cnonce;
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue