mirror of
https://github.com/curl/curl.git
synced 2026-08-24 21:13:40 +03:00
fix compiler warning
This commit is contained in:
parent
de25ed3f37
commit
df07537ccf
2 changed files with 7 additions and 7 deletions
|
|
@ -428,7 +428,7 @@ CURLcode Curl_output_digest(struct connectdata *conn,
|
|||
Further details on Digest implementation differences:
|
||||
http://www.fngtps.com/2006/09/http-authentication
|
||||
*/
|
||||
if(authp->iestyle && (tmp = strchr((char *)uripath, '?'))) {
|
||||
if(authp->iestyle && ((tmp = strchr((char *)uripath, '?')) != NULL)) {
|
||||
md5this = (unsigned char *)aprintf("%s:%.*s", request,
|
||||
(int)(tmp - (char *)uripath), uripath);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue