aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/fopen.c
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-04-04 18:45:37 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-04-04 18:45:37 +0000
commitaa2a54c10a19bce9a9b73d92a9712a7616405e6f (patch)
treedb1d5613ca6d72d6a241908b72a12230d369fcb3 /docs/examples/fopen.c
parent532d4b5106137d70810333fccdf8aebb186ca70a (diff)
Give a hint as to why a url_fopen failed.
Diffstat (limited to 'docs/examples/fopen.c')
-rw-r--r--docs/examples/fopen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/examples/fopen.c b/docs/examples/fopen.c
index 7c50b0cc6..44d2498a0 100644
--- a/docs/examples/fopen.c
+++ b/docs/examples/fopen.c
@@ -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;
}