Programming answers in double ended queue. Fix word "Coding" by "Encoding"
[anna.git] / source / diameter / codec / EngineImpl.cpp
index 45a85ed..af13e09 100644 (file)
@@ -146,7 +146,7 @@ EngineImpl::EngineImpl(const char* className) :
   a_validationMode(ValidationMode::AfterDecoding),
   a_ignoreFlags(false),
   a_selectStackWithApplicationId(false),
-  a_fixMode(FixMode::BeforeCoding) {
+  a_fixMode(FixMode::BeforeEncoding) {
   anna::diameter::sccs::activate();
   anna::xml::functions::initialize();
   a_dtd.initialize(MessageDTD);
@@ -254,7 +254,7 @@ throw() {
 //------------------------------------------------------------------------------
 const char* EngineImpl::asText(const ValidationMode::_v vm)
 throw() {
-  static const char* text [] = { "BeforeCoding", "AfterDecoding", "Always", "Never" };
+  static const char* text [] = { "BeforeEncoding", "AfterDecoding", "Always", "Never" };
   return text [vm];
 }
 
@@ -263,7 +263,7 @@ throw() {
 //------------------------------------------------------------------------------
 const char* EngineImpl::asText(const FixMode::_v fm)
 throw() {
-  static const char* text [] = { "BeforeCoding", "AfterDecoding", "Always", "Never" };
+  static const char* text [] = { "BeforeEncoding", "AfterDecoding", "Always", "Never" };
   return text [fm];
 }