summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--beos/fetch_rsrc.cpp7
-rw-r--r--content/fetch.c2
2 files changed, 7 insertions, 2 deletions
diff --git a/beos/fetch_rsrc.cpp b/beos/fetch_rsrc.cpp
index 9461f5c79..f2224d1ba 100644
--- a/beos/fetch_rsrc.cpp
+++ b/beos/fetch_rsrc.cpp
@@ -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)
diff --git a/content/fetch.c b/content/fetch.c
index e10f0abcb..9a0796294 100644
--- a/content/fetch.c
+++ b/content/fetch.c
@@ -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.
*