aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/ChangeLog4
-rw-r--r--util/logger.c6
2 files changed, 10 insertions, 0 deletions
diff --git a/util/ChangeLog b/util/ChangeLog
index 62c7bcc43..5ce18b66f 100644
--- a/util/ChangeLog
+++ b/util/ChangeLog
@@ -1,3 +1,7 @@
+Fri Dec 31 14:08:15 CET 1999 Werner Koch <[email protected]>
+
+ * logger.c (log_inc_errorcount): New.
+
Sat Dec 4 12:30:28 CET 1999 Werner Koch <[email protected]>
* iobuf.c (iobuf_cancel): Broadcast the new Cancel mesaage to all
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)