aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-02-19 19:05:41 +0100
committerPieter Wuille <pieter.wuille@gmail.com>2012-02-19 19:06:42 +0100
commita3342d096f3456e5e8d087bb3c8eea8b25eb6b57 (patch)
tree593c21e6c05cd92079831784f436bdf4ca653e70 /src/net.h
parente0b8d459b189ee2b7e95a47b217e4b02bfb523b3 (diff)
downloadbitcoin-a3342d096f3456e5e8d087bb3c8eea8b25eb6b57.tar.xz
Fix #626: RecvLine wrong error message
Also moved RecvLine to net.cpp.
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
index 0a3cf388ec..f4af93a495 100644
--- a/src/net.h
+++ b/src/net.h
@@ -29,6 +29,7 @@ inline unsigned int ReceiveBufferSize() { return 1000*GetArg("-maxreceivebuffer"
inline unsigned int SendBufferSize() { return 1000*GetArg("-maxsendbuffer", 10*1000); }
static const unsigned int PUBLISH_HOPS = 5;
+bool RecvLine(SOCKET hSocket, std::string& strLine);
bool GetMyExternalIP(CNetAddr& ipRet);
bool AddAddress(CAddress addr, int64 nTimePenalty=0, CAddrDB *pAddrDB=NULL);
void AddressCurrentlyConnected(const CService& addr);