mirror of
https://github.com/curl/curl.git
synced 2026-07-24 00:07:17 +03:00
Give a hint as to why a url_fopen failed.
This commit is contained in:
parent
532d4b5106
commit
aa2a54c10a
1 changed files with 3 additions and 3 deletions
|
|
@ -488,7 +488,7 @@ main(int argc, char *argv[])
|
|||
handle = url_fopen(url, "r");
|
||||
if(!handle)
|
||||
{
|
||||
printf("couldn't url_fopen()\n");
|
||||
printf("couldn't url_fopen() %s\n", url);
|
||||
fclose(outf);
|
||||
return 2;
|
||||
}
|
||||
|
|
@ -514,7 +514,7 @@ main(int argc, char *argv[])
|
|||
|
||||
handle = url_fopen("testfile", "r");
|
||||
if(!handle) {
|
||||
printf("couldn't url_fopen()\n");
|
||||
printf("couldn't url_fopen() testfile\n");
|
||||
fclose(outf);
|
||||
return 2;
|
||||
}
|
||||
|
|
@ -539,7 +539,7 @@ main(int argc, char *argv[])
|
|||
|
||||
handle = url_fopen("testfile", "r");
|
||||
if(!handle) {
|
||||
printf("couldn't url_fopen()\n");
|
||||
printf("couldn't url_fopen() testfile\n");
|
||||
fclose(outf);
|
||||
return 2;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue