fetch_can_fetch can take const nsurl.

svn path=/trunk/netsurf/; revision=12902
This commit is contained in:
Michael Drake 2011-09-27 14:42:45 +00:00
parent 7e7e1f6ed3
commit e3211bf4fc
2 changed files with 2 additions and 2 deletions

View File

@ -523,7 +523,7 @@ void fetch_poll(void)
* \return true if the scheme is supported
*/
bool fetch_can_fetch(nsurl *url)
bool fetch_can_fetch(const nsurl *url)
{
scheme_fetcher *fetcher = fetchers;
bool match;

View File

@ -96,7 +96,7 @@ void fetch_poll(void);
void fetch_quit(void);
const char *fetch_filetype(const char *unix_path);
char *fetch_mimetype(const char *ro_path);
bool fetch_can_fetch(nsurl *url);
bool fetch_can_fetch(const nsurl *url);
void fetch_change_callback(struct fetch *fetch,
fetch_callback callback,
void *p);