/* Collect URLs from CSS source.
- Copyright (C) 1998, 2000, 2001, 2002, 2003, 2009 Free Software
+ Copyright (C) 1998, 2000, 2001, 2002, 2003, 2009, 2010 Free Software
Foundation, Inc.
This file is part of GNU Wget.
struct map_context ctx;
/* Load the file. */
- fm = read_file (file);
+ fm = wget_read_file (file);
if (!fm)
{
logprintf (LOG_NOTQUIET, "%s: %s\n", file, strerror (errno));
ctx.nofollow = 0;
get_urls_css (&ctx, 0, fm->length);
- read_file_free (fm);
+ wget_read_file_free (fm);
return ctx.head;
}