summaryrefslogtreecommitdiff
path: root/content/fetchers
diff options
context:
space:
mode:
authorAshish Gupta <ashmew2@gmail.com>2017-10-08 21:50:46 +0200
committerAshish Gupta <ashmew2@gmail.com>2017-10-25 22:04:55 +0200
commit3b36b594f3b2c0b05d75843c6d801becf54c5f86 (patch)
tree364caa994fa8af298c72092c67410ebd59173905 /content/fetchers
parent7d12ce9e6a2dd795c8dcdf94af37219ac94e9dde (diff)
downloadnetsurf-3b36b594f3b2c0b05d75843c6d801becf54c5f86.tar.gz
netsurf-3b36b594f3b2c0b05d75843c6d801becf54c5f86.tar.bz2
Fix debug. When rebasing, do not preserve
Diffstat (limited to 'content/fetchers')
-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;