|
a/src/common/rclconfig.cpp |
|
b/src/common/rclconfig.cpp |
|
... |
|
... |
737 |
string fld = fieldCanon(_fld);
|
737 |
string fld = fieldCanon(_fld);
|
738 |
map<string, FieldTraits>::const_iterator pit = m_fldtotraits.find(fld);
|
738 |
map<string, FieldTraits>::const_iterator pit = m_fldtotraits.find(fld);
|
739 |
if (pit != m_fldtotraits.end()) {
|
739 |
if (pit != m_fldtotraits.end()) {
|
740 |
*ftpp = &pit->second;
|
740 |
*ftpp = &pit->second;
|
741 |
LOGDEB1(("RclConfig::getFieldTraits: [%s]->[%s]\n",
|
741 |
LOGDEB1(("RclConfig::getFieldTraits: [%s]->[%s]\n",
|
742 |
_fld.c_str(), ft.pfx.c_str()));
|
742 |
_fld.c_str(), pit->second.pfx.c_str()));
|
743 |
return true;
|
743 |
return true;
|
744 |
} else {
|
744 |
} else {
|
745 |
LOGDEB1(("RclConfig::readFieldsConfig: no prefix for field [%s]\n",
|
745 |
LOGDEB1(("RclConfig::readFieldsConfig: no prefix for field [%s]\n",
|
746 |
fld.c_str()));
|
746 |
fld.c_str()));
|
747 |
*ftpp = 0;
|
747 |
*ftpp = 0;
|