diff options
| author | Luke Dashjr <[email protected]> | 2012-11-14 21:32:36 +0000 |
|---|---|---|
| committer | Luke Dashjr <[email protected]> | 2012-11-14 21:32:36 +0000 |
| commit | c6911a9755ef8daf7b9ae7d277c78ebf8e25b230 (patch) | |
| tree | 70fc4b026a6bb78f6d152678dfb1092d5914754e /src/netbase.cpp | |
| parent | Fixes a race condition in CreateNewBlock and a future null deref on testnet. (diff) | |
| parent | Merge branch '0.6.0.x' into 0.6.x (diff) | |
| download | discoin-c6911a9755ef8daf7b9ae7d277c78ebf8e25b230.tar.xz discoin-c6911a9755ef8daf7b9ae7d277c78ebf8e25b230.zip | |
Merge branch '0.6.x' into 0.7.x
Conflicts:
src/bitcoinrpc.cpp
src/crypter.h
src/main.cpp
src/qt/bitcoin.cpp
src/qt/qtipcserver.cpp
src/util.cpp
Diffstat (limited to 'src/netbase.cpp')
| -rw-r--r-- | src/netbase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netbase.cpp b/src/netbase.cpp index 95d64939b..f8efacbb1 100644 --- a/src/netbase.cpp +++ b/src/netbase.cpp @@ -548,7 +548,7 @@ bool ConnectSocketByName(CService &addr, SOCKET& hSocketRet, const char *pszDest void CNetAddr::Init() { - memset(ip, 0, 16); + memset(ip, 0, sizeof(ip)); } void CNetAddr::SetIP(const CNetAddr& ipIn) |