Commit aa2a54c1 authored by Dan Fandrich's avatar Dan Fandrich
Browse files

Give a hint as to why a url_fopen failed.

parent 532d4b51
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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;
    }