aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoinrpc.cpp
diff options
context:
space:
mode:
authorJeff Garzik <[email protected]>2013-07-31 03:35:33 -0700
committerJeff Garzik <[email protected]>2013-07-31 03:35:33 -0700
commit8351d55cd3955c95c5e3fe065a456db08cc8a559 (patch)
tree2647f444088b18845088a5fac3a6fdabe656eeba /src/bitcoinrpc.cpp
parentMake sure new wallet variables are initialized (diff)
parentRemove #define loop from util.h (diff)
downloaddiscoin-8351d55cd3955c95c5e3fe065a456db08cc8a559.tar.xz
discoin-8351d55cd3955c95c5e3fe065a456db08cc8a559.zip
Merge pull request #2866 from gavinandresen/loopdefine
Remove #define loop from util.h
Diffstat (limited to 'src/bitcoinrpc.cpp')
-rw-r--r--src/bitcoinrpc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp
index 11fac4221..7a3e6560a 100644
--- a/src/bitcoinrpc.cpp
+++ b/src/bitcoinrpc.cpp
@@ -414,7 +414,7 @@ int ReadHTTPStatus(std::basic_istream<char>& stream, int &proto)
int ReadHTTPHeaders(std::basic_istream<char>& stream, map<string, string>& mapHeadersRet)
{
int nLen = 0;
- loop
+ while (true)
{
string str;
std::getline(stream, str);