mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-01 23:25:34 +03:00
fixup haiku rsrc fetcher initialisation
This commit is contained in:
parent
58c2ca0624
commit
b99ba0998b
@ -359,6 +359,8 @@ void fetch_rsrc_register(void)
|
||||
{
|
||||
lwc_string *scheme;
|
||||
int err;
|
||||
nserror ret;
|
||||
|
||||
const struct fetcher_operation_table fetcher_ops_rsrc = {
|
||||
fetch_rsrc_initialise,
|
||||
fetch_rsrc_can_fetch,
|
||||
@ -382,7 +384,10 @@ void fetch_rsrc_register(void)
|
||||
"(couldn't intern \"rsrc\").");
|
||||
}
|
||||
|
||||
fetcher_add(scheme, &fetcher_ops_rsrc);
|
||||
ret = fetcher_add(scheme, &fetcher_ops_rsrc);
|
||||
if (ret != NSERROR_OK) {
|
||||
die("unable to add rsrc fetcher.");
|
||||
}
|
||||
}
|
||||
|
||||
void fetch_rsrc_unregister(void)
|
||||
|
@ -71,7 +71,7 @@
|
||||
#endif
|
||||
|
||||
/** The maximum number of fetchers that can be added */
|
||||
#define MAX_FETCHERS 8
|
||||
#define MAX_FETCHERS 10
|
||||
|
||||
/** The time in ms between polling the fetchers.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user