aboutsummaryrefslogtreecommitdiff
path: root/src/triplet.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2019-07-22 14:53:37 +0300
committerSergey Poznyakoff <gray@gnu.org>2019-07-22 14:53:37 +0300
commitb369ed6ad26c07d3aec65a1bf0910c0d828c400f (patch)
tree525b13a5bbda244cbec3fe10c25c47aa2975e2a5 /src/triplet.c
parent0917d1276103d9cc893e8ac091e9e63c5e6182f8 (diff)
downloadwydawca-b369ed6ad26c07d3aec65a1bf0910c0d828c400f.tar.gz
wydawca-b369ed6ad26c07d3aec65a1bf0910c0d828c400f.tar.bz2
Finish mod_logstat implementation. Document it.
* doc/wydawca.texi: Document mod_logstat. * include/wydawca/wydawca.h (wy_ev_statistics): Rename to wy_ev_finish. All uses changed. (wydawca_stat): New enum (from src/wydawca.h) (WY_STAT_MASK,WY_STAT_MASK_NONE) (WY_STAT_MASK_ALL): New macros. All uses changed. * modules/logstat/mod_logstat.c (stat_mask): Default to WY_STAT_MASK_ALL. (wy_notify): Provide default output.
Diffstat (limited to 'src/triplet.c')
-rw-r--r--src/triplet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/triplet.c b/src/triplet.c
index 067bc01..7c79af0 100644
--- a/src/triplet.c
+++ b/src/triplet.c
@@ -373,17 +373,17 @@ triplet_processor(void *data, void *proc_data)
case triplet_incomplete:
wy_debug(1, (_("%s: incomplete triplet"), trp->name));
/* ignore unless expired (see below); */
- UPDATE_STATS(STAT_INCOMPLETE_TRIPLETS);
+ UPDATE_STATS(WY_STAT_INCOMPLETE_TRIPLETS);
break;
case triplet_bad:
- UPDATE_STATS(STAT_BAD_TRIPLETS);
+ UPDATE_STATS(WY_STAT_BAD_TRIPLETS);
remove_triplet(trp, 0);
return 0;
}
if (triplet_expired_p(trp)) {
- UPDATE_STATS(STAT_EXPIRED_TRIPLETS);
+ UPDATE_STATS(WY_STAT_EXPIRED_TRIPLETS);
remove_triplet(trp, 0);
}

Return to:

Send suggestions and report system problems to the System administrator.