From 050d2e953f23db6d818b9cec6b7dc0e52aa7537c Mon Sep 17 00:00:00 2001 From: Gavin Andresen Date: Wed, 31 Jul 2013 14:06:44 +1000 Subject: Remove #define loop from util.h Replace the loop macro with while (true). The #define caused problems for Qt. --- src/bitcoinrpc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bitcoinrpc.cpp') diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp index 11fac42213..7a3e6560ab 100644 --- a/src/bitcoinrpc.cpp +++ b/src/bitcoinrpc.cpp @@ -414,7 +414,7 @@ int ReadHTTPStatus(std::basic_istream& stream, int &proto) int ReadHTTPHeaders(std::basic_istream& stream, map& mapHeadersRet) { int nLen = 0; - loop + while (true) { string str; std::getline(stream, str); -- cgit v1.2.3