projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add site info in app loader
[anna.git]
/
source
/
diameter
/
codec
/
Message.cpp
diff --git
a/source/diameter/codec/Message.cpp
b/source/diameter/codec/Message.cpp
index
b374b90
..
b286fbc
100644
(file)
--- a/
source/diameter/codec/Message.cpp
+++ b/
source/diameter/codec/Message.cpp
@@
-659,7
+659,7
@@
const anna::DataBlock & Message::code() throw(anna::RuntimeException) {
// Pre-Validation
Engine::ValidationMode::_v vmode = getEngine()->getValidationMode();
// Pre-Validation
Engine::ValidationMode::_v vmode = getEngine()->getValidationMode();
- if((vmode == Engine::ValidationMode::Before
C
oding) || (vmode == Engine::ValidationMode::Always)) {
+ if((vmode == Engine::ValidationMode::Before
Enc
oding) || (vmode == Engine::ValidationMode::Always)) {
if(!valid())
throw anna::RuntimeException("Try to encode an invalid message. See previous report on warning-level traces", ANNA_FILE_LOCATION);
}
if(!valid())
throw anna::RuntimeException("Try to encode an invalid message. See previous report on warning-level traces", ANNA_FILE_LOCATION);
}
@@
-667,7
+667,7
@@
const anna::DataBlock & Message::code() throw(anna::RuntimeException) {
// Pre-Fixing
Engine::FixMode::_v fmode = getEngine()->getFixMode();
// Pre-Fixing
Engine::FixMode::_v fmode = getEngine()->getFixMode();
- if((fmode == Engine::FixMode::Before
C
oding) || (fmode == Engine::FixMode::Always)) fix();
+ if((fmode == Engine::FixMode::Before
Enc
oding) || (fmode == Engine::FixMode::Always)) fix();
// Trace
LOGDEBUG(
// Trace
LOGDEBUG(