diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2013-07-31 14:06:44 +1000 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2013-07-31 14:06:44 +1000 |
commit | 050d2e953f23db6d818b9cec6b7dc0e52aa7537c (patch) | |
tree | 2647f444088b18845088a5fac3a6fdabe656eeba /src/bitcoinrpc.cpp | |
parent | c4316fefa5f56d62eeceb710ee18313bd9be1128 (diff) |
Remove #define loop from util.h
Replace the loop macro with while (true). The #define caused
problems for Qt.
Diffstat (limited to 'src/bitcoinrpc.cpp')
-rw-r--r-- | src/bitcoinrpc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<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); |