We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 940372e commit 3e3c65bCopy full SHA for 3e3c65b
src/common/StatusArg.cpp
@@ -45,7 +45,7 @@
45
46
namespace {
47
// Didn't want to bring dyn.h and friends here.
48
- const int DYN_MSG_FAC = 8;
+ constexpr int DYN_MSG_FAC = FB_IMPL_MSG_FACILITY_DYN;
49
}
50
51
namespace Firebird {
@@ -166,7 +166,7 @@ void StatusVector::ImplStatusVector::putStrArg(unsigned startWith)
166
m_strings.append(1, '\0');
167
168
else
169
- m_strings.append(*ptr, strlen(*ptr) + 1);
+ m_strings.append(*ptr, fb_strlen(*ptr) + 1);
170
171
*ptr = &m_strings[pos];
172
setStrPointers(oldBase);
0 commit comments