summaryrefslogtreecommitdiff
path: root/docs/examples/curlx.c
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/curlx.c')
-rw-r--r--docs/examples/curlx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/curlx.c b/docs/examples/curlx.c
index 49f52e614..df4ab3fa2 100644
--- a/docs/examples/curlx.c
+++ b/docs/examples/curlx.c
@@ -544,7 +544,7 @@ int main(int argc, char **argv)
BIO_printf(p.errorbio, "%d %s %d\n", __LINE__, "curl_easy_perform",
res = curl_easy_perform(p.curl));
{
- int result = curl_easy_getinfo(p.curl, CURLINFO_CONTENT_TYPE, &response);
+ curl_easy_getinfo(p.curl, CURLINFO_CONTENT_TYPE, &response);
if(mimetypeaccept && p.verbose) {
if(!strcmp(mimetypeaccept, response))
BIO_printf(p.errorbio, "the response has a correct mimetype : %s\n",