src/Network/props.cxx: with key=value, allow value to contain '='.
This commit is contained in:
parent
a98325e9d1
commit
5ef60c33c6
1 changed files with 1 additions and 1 deletions
|
@ -554,7 +554,7 @@ FGProps::PropsChannel::foundTerminator()
|
|||
} else {
|
||||
// generic parsing
|
||||
for ( unsigned int i = 2; i < tokens.size(); ++i ) {
|
||||
const auto pieces = simgear::strutils::split(tokens.at(i), "=");
|
||||
const auto pieces = simgear::strutils::split(tokens.at(i), "=", 1);
|
||||
if (pieces.size() != 2) {
|
||||
SG_LOG(SG_NETWORK, SG_WARN, "malformed argument to Props protocol run:" << tokens.at(i));
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue