diff options
author | Jeff Garzik <jgarzik@exmulti.com> | 2012-04-22 13:59:24 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2012-04-23 14:14:36 -0400 |
commit | 5aa0b2382515eb92fe249a106059f3b6a9328d26 (patch) | |
tree | bea59d8369abddbe0f517270708404822a98b198 /src/db.cpp | |
parent | 1d8c7a9557d596d4c7edee801a724db7a908bce5 (diff) | |
download | bitcoin-5aa0b2382515eb92fe249a106059f3b6a9328d26.tar.xz |
CBlock::WriteToDisk() properly checks ftell(3) for error return
Rather than storing ftell(3)'s return value -- a long -- in an
unsigned int, we store and check a properly typed temp. Then, assured a
non-negative value, we store in nBlockPosRet.
Diffstat (limited to 'src/db.cpp')
0 files changed, 0 insertions, 0 deletions