mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-28 17:23:09 +03:00
Remove a time consuming LOG(()) and add some whitespace to help me think
svn path=/trunk/netsurf/; revision=3331
This commit is contained in:
parent
1dd7e97eb3
commit
e6d754cc96
@ -427,7 +427,7 @@ void fetch_poll(void)
|
||||
if (!fetch_active)
|
||||
return; /* No point polling, there's no fetch active. */
|
||||
while (fetcher != NULL) {
|
||||
LOG(("Polling fetcher for %s", fetcher->scheme_name));
|
||||
/* LOG(("Polling fetcher for %s", fetcher->scheme_name)); */
|
||||
fetcher->poll_fetcher(fetcher->scheme_name);
|
||||
fetcher = fetcher->next_fetcher;
|
||||
}
|
||||
@ -510,12 +510,15 @@ fetch_can_be_freed(struct fetch *fetch)
|
||||
{
|
||||
/* Go ahead and free the fetch properly now */
|
||||
LOG(("Fetch %p, fetcher %p can be freed", fetch, fetch->fetcher_handle));
|
||||
|
||||
if (fetch->fetch_is_active) {
|
||||
RING_REMOVE(fetch_ring, fetch);
|
||||
} else {
|
||||
RING_REMOVE(queue_ring, fetch);
|
||||
}
|
||||
|
||||
fetch_active = (fetch_ring != NULL);
|
||||
|
||||
fetch_free(fetch);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user