summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAshish Gupta <ashmew2@gmail.com>2017-04-23 18:58:16 +0200
committerAshish Gupta <ashmew2@gmail.com>2017-10-25 22:04:54 +0200
commitb99fe7e4662d91c8727271f19e83ad42f406e1e1 (patch)
tree6482811adc732f175f9bf9180cbe0da8ef33d359 /utils
parente94504c0d57e0cc3f6508c489762d7ffea3242be (diff)
downloadnetsurf-b99fe7e4662d91c8727271f19e83ad42f406e1e1.tar.gz
netsurf-b99fe7e4662d91c8727271f19e83ad42f406e1e1.tar.bz2
Get logging working.
Diffstat (limited to 'utils')
-rw-r--r--utils/log.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/utils/log.c b/utils/log.c
index 97e1ee19a..45cc2100f 100644
--- a/utils/log.c
+++ b/utils/log.c
@@ -314,7 +314,6 @@ nslog_finalise()
void nslog_log(const char *file, const char *func, int ln, const char *format, ...)
{
-#ifndef _TARGET_IS_KOLIBRIOS
va_list ap;
fprintf(logfile, "%s %s:%i %s: ", nslog_gettime(), file, ln, func);
@@ -326,17 +325,6 @@ void nslog_log(const char *file, const char *func, int ln, const char *format, .
va_end(ap);
fputc('\n', logfile);
-#else
- va_list ap;
- char message[1000];
-
- va_start(ap, format);
- vsprintf(message, format, ap);
- va_end(ap);
-
- debug_board_printf(message);
- debug_board_printf("\n");
-#endif
}
#endif