aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-10-20 12:45:50 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-10-22 10:18:19 +0200
commita873823864a00f68772eb2b85a70e933839ca3f5 (patch)
tree851616d84523434fe11a5a47c59ca2b2606935ff /src/net.cpp
parentfef24cab1a4a13a864783dfcd6613ce8100f990d (diff)
CAutoFile: Explicit Get() and remove unused methods
Also add documentation to some methods.
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp
index b7c958143c..6cf64f51c3 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -1939,7 +1939,7 @@ bool CAddrDB::Write(const CAddrMan& addr)
catch (std::exception &e) {
return error("%s : Serialize or I/O error - %s", __func__, e.what());
}
- FileCommit(fileout);
+ FileCommit(fileout.Get());
fileout.fclose();
// replace existing peers.dat, if any, with new peers.dat.XXXX