From 47ccd9855db44881339e68093655247a78fd8598 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Mon, 27 Jun 2016 21:09:39 +0100 Subject: Move fetcher_fdset to fetch.h (and rename to fetch_fdset). Maybe not ideal but better --- frontends/amiga/gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'frontends/amiga') diff --git a/frontends/amiga/gui.c b/frontends/amiga/gui.c index 8d7c69ddb..ba7f979ef 100644 --- a/frontends/amiga/gui.c +++ b/frontends/amiga/gui.c @@ -108,7 +108,7 @@ #include "netsurf/cookie_db.h" #include "netsurf/url_db.h" #include "content/backing_store.h" -#include "content/fetchers.h" +#include "content/fetch.h" #include "desktop/browser_history.h" #include "desktop/hotlist.h" #include "desktop/version.h" @@ -2788,7 +2788,7 @@ void ami_get_msg(void) uint32 signalmask = winsignal | appsig | schedulesig | rxsig | printsig | applibsig | helpsignal; - if ((fetcher_fdset(&read_fd_set, &write_fd_set, &except_fd_set, &max_fd) == NSERROR_OK) && + if ((fetch_fdset(&read_fd_set, &write_fd_set, &except_fd_set, &max_fd) == NSERROR_OK) && (max_fd != -1)) { /* max_fd is the highest fd in use, but waitselect() needs to know how many * are in use, so we add 1. */ -- cgit v1.2.3