Treating ARGS_NAMES as an array instead of scalar

Both value and key are the same.
This commit is contained in:
Felipe Zimmerle
2017-08-22 18:26:56 -03:00
parent 81879cd131
commit 1d3c4c670d
10 changed files with 3269 additions and 3197 deletions

View File

@@ -309,7 +309,7 @@ bool Transaction::addArgument(const std::string& orig, const std::string& key,
m_variableArgsPost.set(key, value, offset);
m_variableArgPostNames.append(key, offset - key.size() - 1, true);
}
m_variableArgsNames.append(key, offset - key.size() - 1, true);
m_variableArgsNames.set(key, key, offset - key.size() - 1);
m_ARGScombinedSizeDouble = m_ARGScombinedSizeDouble + \
key.length() + value.length();