commit 28e018b32e096350421b8fe0b39cc498fc9923ff
parent 8797310fd7cfdff61ad3299381caba11d8da40d7
Author: cfillion <cfillion@users.noreply.github.com>
Date: Tue, 15 Dec 2015 13:33:47 -0800
remove http version from the error descriptions
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/download.cpp b/src/download.cpp
@@ -106,6 +106,7 @@ DWORD WINAPI Download::Worker(void *ptr)
else {
// strip body
contents.erase(contents.find("\n"));
+ contents.erase(0, contents.find("\x20") + 1);
download->finish(status, contents);
}