From 3b36b594f3b2c0b05d75843c6d801becf54c5f86 Mon Sep 17 00:00:00 2001 From: Ashish Gupta Date: Sun, 8 Oct 2017 21:50:46 +0200 Subject: Fix debug. When rebasing, do not preserve --- content/fetchers/httplib_kolibri.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'content/fetchers') 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; -- cgit v1.2.3