diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/examples/chkspeed.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/examples/chkspeed.c b/docs/examples/chkspeed.c index 031eec893..7d2a3da61 100644 --- a/docs/examples/chkspeed.c +++ b/docs/examples/chkspeed.c @@ -150,7 +150,8 @@ int main(int argc, char *argv[]) printf("Average download speed: %0.3f kbyte/sec.\n", val / 1024); } else { - printf("Error while fetching '%s' : %s\n", url, curl_easy_strerror(res)); + fprintf(stderr, "Error while fetching '%s' : %s\n", + url, curl_easy_strerror(res)); } /* cleanup curl stuff */ |