summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorAshish Gupta <ashmew2@gmail.com>2017-10-08 22:20:39 +0200
committerAshish Gupta <ashmew2@gmail.com>2017-10-25 22:04:55 +0200
commit310b65307a4db20cd5c5c6d9f67e63865437e047 (patch)
tree7e044f7b4608bb4fb860343cb64ff2c7c30dfc90 /content
parent3a452fb48343f5e4c74fe531dfb4b96451583c1c (diff)
downloadnetsurf-310b65307a4db20cd5c5c6d9f67e63865437e047.tar.gz
netsurf-310b65307a4db20cd5c5c6d9f67e63865437e047.tar.bz2
Remove bloat x3
Diffstat (limited to 'content')
-rw-r--r--content/fetchers/file.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/content/fetchers/file.c b/content/fetchers/file.c
index f200eee19..067d9be50 100644
--- a/content/fetchers/file.c
+++ b/content/fetchers/file.c
@@ -42,7 +42,6 @@
#ifdef HAVE_MMAP
#include <sys/mman.h>
#endif
-
#include <libwapcaplet/libwapcaplet.h>
#include "netsurf/inttypes.h"
@@ -192,11 +191,6 @@ static void fetch_file_free(void *ctx)
/** callback to start a file fetch */
static bool fetch_file_start(void *ctx)
{
-#ifdef _TARGET_IS_KOLIBRIOS
- struct fetch_file_context *c = ctx;
- debug_board_printf("[%u] Starting file fetch : %s\n", sys_uptime(), nsurl_access(c->url));
-#endif
-
return true;
}
@@ -256,9 +250,6 @@ static void fetch_file_process_error(struct fetch_file_context *ctx, int code)
if (fetch_file_send_callback(&msg, ctx))
goto fetch_file_process_error_aborted;
-#ifdef _TARGET_IS_KOLIBRIOS
- debug_board_printf("[%u] Finished file fetch : %s\n", sys_uptime(), nsurl_access(ctx->url));
-#endif
msg.type = FETCH_FINISHED;
fetch_file_send_callback(&msg, ctx);
@@ -341,9 +332,6 @@ static void fetch_file_process_plain(struct fetch_file_context *ctx,
fetch_file_send_callback(&msg, ctx);
if (ctx->aborted == false) {
-#ifdef _TARGET_IS_KOLIBRIOS
- debug_board_printf("[%u] Finished file fetch : %s\n", sys_uptime(), nsurl_access(ctx->url));
-#endif
msg.type = FETCH_FINISHED;
fetch_file_send_callback(&msg, ctx);
}
@@ -447,9 +435,6 @@ fetch_file_process_aborted:
}
if (ctx->aborted == false) {
-#ifdef _TARGET_IS_KOLIBRIOS
- debug_board_printf("[%u] Finished file fetch : %s\n", sys_uptime(), nsurl_access(ctx->url));
-#endif
msg.type = FETCH_FINISHED;
fetch_file_send_callback(&msg, ctx);
}
@@ -756,10 +741,6 @@ static void fetch_file_process_dir(struct fetch_file_context *ctx,
if (fetch_file_send_callback(&msg, ctx))
goto fetch_file_process_dir_aborted;
-#ifdef _TARGET_IS_KOLIBRIOS
- debug_board_printf("[%u] Finished file fetch : %s\n", sys_uptime(), nsurl_access(ctx->url));
-#endif
-
msg.type = FETCH_FINISHED;
fetch_file_send_callback(&msg, ctx);