diff options
author | Alexander Tkachev | 2016-07-23 12:52:27 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | 15c6772ff7638e104027f7b7777180e6191841fc (patch) | |
tree | 7887ce51ef6c3d6fd7ab574aa0e7da85d47067f8 /backends/networking/sdl_net/reader.cpp | |
parent | d57e0c89b5b20dac247cb2f43450014d84719ba6 (diff) | |
download | scummvm-rg350-15c6772ff7638e104027f7b7777180e6191841fc.tar.gz scummvm-rg350-15c6772ff7638e104027f7b7777180e6191841fc.tar.bz2 scummvm-rg350-15c6772ff7638e104027f7b7777180e6191841fc.zip |
ALL: Fix debug, warning and error usage
Added prefixes, used debug(9).
Diffstat (limited to 'backends/networking/sdl_net/reader.cpp')
-rw-r--r-- | backends/networking/sdl_net/reader.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/backends/networking/sdl_net/reader.cpp b/backends/networking/sdl_net/reader.cpp index 828f583003..0e4cc9a106 100644 --- a/backends/networking/sdl_net/reader.cpp +++ b/backends/networking/sdl_net/reader.cpp @@ -138,7 +138,7 @@ void readFromThatUntilLineEnd(const char *cstr, Common::String needle, Common::S void Reader::handleFirstHeaders(Common::String headers) { if (!_boundary.empty()) { - warning("handleFirstHeaders() called when first headers were already handled"); + warning("Reader: handleFirstHeaders() called when first headers were already handled"); return; } @@ -252,7 +252,7 @@ void Reader::parseQueryParameters() { } else { if (_query[i] == '&') { if (_queryParameters.contains(key)) - warning("Query parameter \"%s\" is already set!", key.c_str()); + warning("Reader: query parameter \"%s\" is already set!", key.c_str()); else _queryParameters[key] = LocalWebserver::urlDecode(value); readingKey = true; @@ -265,7 +265,7 @@ void Reader::parseQueryParameters() { if (!key.empty()) { if (_queryParameters.contains(key)) - warning("Query parameter \"%s\" is already set!", key.c_str()); + warning("Reader: query parameter \"%s\" is already set!", key.c_str()); else _queryParameters[key] = LocalWebserver::urlDecode(value); } @@ -410,9 +410,9 @@ bool Reader::readBlockContent(Common::WriteStream *stream) { if (bts == "--") _allContentRead = true; else if (bts != "\r\n") - warning("strange bytes: \"%s\"", bts.c_str()); + warning("Reader: strange bytes: \"%s\"", bts.c_str()); } else { - warning("strange ending"); + warning("Reader: strange ending"); _allContentRead = true; } |