mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
printf %s with plain 'char *', not unsigned ones to silence icc's picky
warnings
This commit is contained in:
parent
6f74820cfc
commit
58387b91f9
@ -110,7 +110,7 @@ static int ssl_app_verify_callback(X509_STORE_CTX *ctx, void *arg)
|
|||||||
|
|
||||||
if (strcmp((char *)p->accessinfoURL, (char *)accessinfoURL)) {
|
if (strcmp((char *)p->accessinfoURL, (char *)accessinfoURL)) {
|
||||||
fprintf(stderr, "Setting URL <%s>, was <%s>\n",
|
fprintf(stderr, "Setting URL <%s>, was <%s>\n",
|
||||||
accessinfoURL,p->accessinfoURL);
|
(char *)accessinfoURL, (char *)p->accessinfoURL);
|
||||||
OPENSSL_free(p->accessinfoURL);
|
OPENSSL_free(p->accessinfoURL);
|
||||||
p->accessinfoURL = accessinfoURL;
|
p->accessinfoURL = accessinfoURL;
|
||||||
curl_easy_setopt(p->curl, CURLOPT_URL,p->accessinfoURL);
|
curl_easy_setopt(p->curl, CURLOPT_URL,p->accessinfoURL);
|
||||||
@ -179,7 +179,7 @@ int test(char *URL)
|
|||||||
curl_easy_setopt(p.curl, CURLOPT_SSL_VERIFYPEER, FALSE);
|
curl_easy_setopt(p.curl, CURLOPT_SSL_VERIFYPEER, FALSE);
|
||||||
curl_easy_setopt(p.curl, CURLOPT_SSL_VERIFYHOST, 1);
|
curl_easy_setopt(p.curl, CURLOPT_SSL_VERIFYHOST, 1);
|
||||||
|
|
||||||
fprintf(stderr,"Going to perform %s\n",p.accessinfoURL);
|
fprintf(stderr, "Going to perform %s\n", (char *)p.accessinfoURL);
|
||||||
|
|
||||||
{
|
{
|
||||||
CURLMcode res;
|
CURLMcode res;
|
||||||
|
Loading…
Reference in New Issue
Block a user