From: Steve Holme Date: Fri, 25 Mar 2016 12:17:34 +0000 (+0000) Subject: digest.c: Fixed checksrc warnings X-Git-Tag: curl-7_49_0~300 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=568d26e0f5c3001fbd2c4c0c794b5365e967d379;p=thirdparty%2Fcurl.git digest.c: Fixed checksrc warnings --- diff --git a/lib/vauth/digest.c b/lib/vauth/digest.c index ee8646b86d..6d7068f7a9 100644 --- a/lib/vauth/digest.c +++ b/lib/vauth/digest.c @@ -275,13 +275,15 @@ static CURLcode sasl_decode_digest_md5_message(const char *chlg64, return CURLE_BAD_CONTENT_ENCODING; /* Retrieve nonce string from the challenge */ - if(!sasl_digest_get_key_value((char *) chlg, "nonce=\"", nonce, nlen, '\"')) { + if(!sasl_digest_get_key_value((char *) chlg, "nonce=\"", nonce, nlen, + '\"')) { free(chlg); return CURLE_BAD_CONTENT_ENCODING; } /* Retrieve realm string from the challenge */ - if(!sasl_digest_get_key_value((char *) chlg, "realm=\"", realm, rlen, '\"')) { + if(!sasl_digest_get_key_value((char *) chlg, "realm=\"", realm, rlen, + '\"')) { /* Challenge does not have a realm, set empty string [RFC2831] page 6 */ strcpy(realm, ""); }