reapack

Package manager for REAPER
Log | Files | Refs | Submodules | README | LICENSE

commit e57af5af8713e82f2e9af2461152e2cb4e94db6a
parent 4613e4b32b082b0a133321db1c76ae97072582f5
Author: cfillion <cfillion@users.noreply.github.com>
Date:   Wed, 10 Aug 2016 15:49:48 -0400

download: remove trailing \r from HTTP error messages

Diffstat:
Msrc/download.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/download.cpp b/src/download.cpp @@ -158,7 +158,7 @@ DWORD WINAPI Download::Worker(void *ptr) } default: // strip body, only keep error description - contents.erase(contents.find("\n")); + contents.erase(contents.find("\r")); contents.erase(0, contents.find("\x20") + 1); download->finish(Failure, contents);