diff --git a/CMakeLists.txt b/CMakeLists.txt index b1244fe..35e9f3c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 3.2) project(libravatarserv - VERSION 0.6.3 + VERSION 0.6.4 LANGUAGES CXX ) diff --git a/src/http.cpp b/src/http.cpp index a7a9add..f3af582 100644 --- a/src/http.cpp +++ b/src/http.cpp @@ -72,9 +72,9 @@ const Request http::parse_request(const string &request) { size = 512; } - if (size < 1) + if (size == 0) { - size = 1; + size = 80; } } {