aboutsummaryrefslogtreecommitdiff
path: root/src/rpcblockchain.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-09-16 18:13:05 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-09-18 10:15:48 +0200
commit62e5f8f96114a872354103ef566b5c74a16154d4 (patch)
tree08c946da5a14b1e98bf83234f625973ae7dd8c30 /src/rpcblockchain.cpp
parentc14bfea8eee5498f3c7d4f582b6fb7ac18ec1a62 (diff)
CMessageHeader sanity changes
- Remove spurious `pchCommand[1] = 1` in CMessageHeader() - Make sure that pchCommand is zero-padded if length is shorter than COMMAND_SIZE - Use strnlen to determine length of pcmCommand in GetCommand
Diffstat (limited to 'src/rpcblockchain.cpp')
0 files changed, 0 insertions, 0 deletions