Give a hint as to why a url_fopen failed.

This commit is contained in:
Dan Fandrich 2008-04-04 18:45:37 +00:00
parent 532d4b5106
commit aa2a54c10a
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}