summaryrefslogtreecommitdiffstats
path: root/runtime/batch.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-10-26 12:21:07 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-10-26 12:21:07 +0100
commitda53802c96a59a990859706219398dce709ba1b3 (patch)
tree43242bbabf5fbb91d70caf1bc7a87cbfdf535298 /runtime/batch.h
parent672c1b25d603006361836649c558777a1a872053 (diff)
downloadrsyslog-da53802c96a59a990859706219398dce709ba1b3.tar.gz
rsyslog-da53802c96a59a990859706219398dce709ba1b3.tar.xz
rsyslog-da53802c96a59a990859706219398dce709ba1b3.zip
implemented solution for cancel at shutdown/unprocessed entries
We do now enqueue those objects that are left unprocessed. This enables us to delete the full batch, what is exactly what we need to do.
Diffstat (limited to 'runtime/batch.h')
-rw-r--r--runtime/batch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/batch.h b/runtime/batch.h
index 031718a7..2b3aa83e 100644
--- a/runtime/batch.h
+++ b/runtime/batch.h
@@ -34,7 +34,7 @@
typedef enum {
BATCH_STATE_RDY = 0, /* object ready for processing */
BATCH_STATE_BAD = 1, /* unrecoverable failure while processing, do NOT resubmit to same action */
- BATCH_STATE_SUB = 2, /* message submitted for processing, outcome yet unkonwn */
+ BATCH_STATE_SUB = 2, /* message submitted for processing, outcome yet unknown */
BATCH_STATE_COMM = 3, /* message successfully commited */
BATCH_STATE_DISC = 4, /* discarded - processed OK, but do not submit to any other action */
} batch_state_t;