X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fhtml-url.c;h=02092e5a31023a1322d8b05f787d0028ff4bc964;hp=5e9aeb4bb2333ab262c9a3aeeae77fd5c673dcf8;hb=cf3c678c8246fc326b69ae64b4e2766a69df5704;hpb=ec40efb27b38fade97c7531a106809ba89a10e2c diff --git a/src/html-url.c b/src/html-url.c index 5e9aeb4b..02092e5a 100644 --- a/src/html-url.c +++ b/src/html-url.c @@ -659,7 +659,7 @@ get_urls_html (const char *file, const char *url, bool *meta_disallow_follow, int flags; /* Load the file. */ - fm = read_file (file); + fm = wget_read_file (file); if (!fm) { logprintf (LOG_NOTQUIET, "%s: %s\n", file, strerror (errno)); @@ -701,7 +701,7 @@ get_urls_html (const char *file, const char *url, bool *meta_disallow_follow, *meta_disallow_follow = ctx.nofollow; xfree_null (ctx.base); - read_file_free (fm); + wget_read_file_free (fm); return ctx.head; } @@ -716,7 +716,7 @@ get_urls_file (const char *file) const char *text, *text_end; /* Load the file. */ - fm = read_file (file); + fm = wget_read_file (file); if (!fm) { logprintf (LOG_NOTQUIET, "%s: %s\n", file, strerror (errno)); @@ -786,7 +786,7 @@ get_urls_file (const char *file) tail->next = entry; tail = entry; } - read_file_free (fm); + wget_read_file_free (fm); return head; }