X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fres.c;h=0996c90370104013c0fb1b93b61466bc45988c79;hp=897f1240d57c0108d6817adb4a2ba0e51ef16a40;hb=2f6aa1d7417df1dfc58597777686fbd77179b9fd;hpb=293008f682e5fa9726136bc121bceadc136c77dc diff --git a/src/res.c b/src/res.c index 897f1240..0996c903 100644 --- a/src/res.c +++ b/src/res.c @@ -1,5 +1,5 @@ /* Support for Robot Exclusion Standard (RES). - Copyright (C) 2001, 2006, 2007, 2008, 2009, 2010 Free Software + Copyright (C) 2001, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. This file is part of Wget. @@ -385,7 +385,7 @@ struct robot_specs * res_parse_from_file (const char *filename) { struct robot_specs *specs; - struct file_memory *fm = read_file (filename); + struct file_memory *fm = wget_read_file (filename); if (!fm) { logprintf (LOG_NOTQUIET, _("Cannot open %s: %s"), @@ -393,7 +393,7 @@ res_parse_from_file (const char *filename) return NULL; } specs = res_parse (fm->content, fm->length); - read_file_free (fm); + wget_read_file_free (fm); return specs; }