aboutsummaryrefslogtreecommitdiffstats
path: root/util/logger.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/logger.c')
-rw-r--r--util/logger.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/util/logger.c b/util/logger.c
index a1fb1f3d7..d9e908aec 100644
--- a/util/logger.c
+++ b/util/logger.c
@@ -101,6 +101,12 @@ log_get_errorcount( int clear)
return n;
}
+void
+log_inc_errorcount()
+{
+ errorcount++;
+}
+
void
g10_log_print_prefix(const char *text)