summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/fetchers/httplib_kolibri.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/fetchers/httplib_kolibri.c b/content/fetchers/httplib_kolibri.c
index 1aae7e583..25e5a1060 100644
--- a/content/fetchers/httplib_kolibri.c
+++ b/content/fetchers/httplib_kolibri.c
@@ -276,7 +276,6 @@ bool abort_fetch(void *httpf) {
bool free_fetch(void *httpf) {
LOG("free_fetch called for 0x%x", ((struct httpfetcher *)httpf)->owner);
- debug_board_printf("Closing http connection in free_fetch\n");
http_disconnect_asm((((struct httpfetcher *)httpf)->handle));
LOG("Freeing fetch 0x%x", ((struct httpfetcher *)httpf)->owner);
@@ -399,10 +398,11 @@ void poll_fetch(lwc_string *scheme) {
}
else if(ret == -1) {
/* If data was received send it to netsurf core with FETCH_DATA */
- LOG("Doing a data callback; so far : %u vs %u!", t->datalen_cb_done, t->handle->content_received);
+ LOG("Calledback vs received : %u vs %u!", t->datalen_cb_done, t->handle->content_received);
if(t->handle->content_received > t->datalen_cb_done) {
fetch_msg msg;
+ LOG("Doing a data callback\n");
msg.type = FETCH_DATA;
msg.data.header_or_data.buf = (const uint8_t *) (t->handle->content_ptr + t->datalen_cb_done);
msg.data.header_or_data.len = t->handle->content_received - t->datalen_cb_done;