diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2022-04-08 22:48:00 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2022-04-08 22:54:11 +0900 |
| commit | ba36a38a6c4be38fe4e09cc95a40b58a48daed79 (patch) | |
| tree | 6110994e4a9f28608da92e41b235990257ba13eb /src/ValueBaseStructParserStateMachine.h | |
| parent | 37a7419fed8e6035a77c30bef456e36cbfd60245 (diff) | |
Allow empty dist name in bencode which is needed for hybrid torrent
Diffstat (limited to 'src/ValueBaseStructParserStateMachine.h')
| -rw-r--r-- | src/ValueBaseStructParserStateMachine.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ValueBaseStructParserStateMachine.h b/src/ValueBaseStructParserStateMachine.h index a049de3a..c309cfb6 100644 --- a/src/ValueBaseStructParserStateMachine.h +++ b/src/ValueBaseStructParserStateMachine.h @@ -106,6 +106,8 @@ public: void pushBoolState(); void pushNullState(); + void setAllowEmptyMemberName(bool b); + private: std::unique_ptr<rpc::XmlRpcRequestParserController> ctrl_; std::stack<ValueBaseStructParserState*> stateStack_; |
