diff options
author | Yang Tse <yangsita@gmail.com> | 2009-02-28 01:11:57 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-02-28 01:11:57 +0000 |
commit | df07537ccf98fd7984563dda89218f0d3bd0d6f6 (patch) | |
tree | 3f17e885107782e02fe19dfb7368f487dc27a13c /lib/http_digest.c | |
parent | de25ed3f37f3519d204a47d79c21610d5b983379 (diff) | |
download | curl-df07537ccf98fd7984563dda89218f0d3bd0d6f6.tar.gz |
fix compiler warning
Diffstat (limited to 'lib/http_digest.c')
-rw-r--r-- | lib/http_digest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http_digest.c b/lib/http_digest.c index 1f452c7f5..ea2aebf01 100644 --- a/lib/http_digest.c +++ b/lib/http_digest.c @@ -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); } |