aboutsummaryrefslogtreecommitdiff
path: root/src/mfstat.awk
diff options
context:
space:
mode:
Diffstat (limited to 'src/mfstat.awk')
-rw-r--r--src/mfstat.awk8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mfstat.awk b/src/mfstat.awk
index 1e396ed2..77d31dc3 100644
--- a/src/mfstat.awk
+++ b/src/mfstat.awk
@@ -1,5 +1,5 @@
# This file is part of mailfromd.
-# Copyright (C) 2007 Sergey Poznyakoff
+# Copyright (C) 2007, 2008 Sergey Poznyakoff
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -19,7 +19,7 @@ BEGIN {
header[nh++] = "THIS FILE IS GENERATED AUTOMATICALLY. PLEASE DO NOT EDIT."
}
-state == 0 && /typedef enum mf_status_code/ { state = 1; next }
+state == 0 && /typedef enum mf_exception_code/ { state = 1; next }
state == 0 && /TEMPLATE/ {
state = 2;
if (NF > 1) {
@@ -35,9 +35,9 @@ state == 0 && /TEMPLATE/ {
}
state == 0 { next }
-state == 1 && $1 == "mf_status_count" { state = 0 }
+state == 1 && $1 == "mf_exception_count" { state = 0 }
state == 1 {
- if (match($1, "mf_(.+),", a))
+ if (match($1, "mfe_(.+),", a))
status_code[code++] = a[1];
}

Return to:

Send suggestions and report system problems to the System administrator.