If size=0, return standard size(80px)
This commit is contained in:
parent
ec140aad01
commit
268ff7ab6f
@ -1,6 +1,6 @@
|
||||
cmake_minimum_required (VERSION 3.2)
|
||||
project(libravatarserv
|
||||
VERSION 0.6.3
|
||||
VERSION 0.6.4
|
||||
LANGUAGES CXX
|
||||
)
|
||||
|
||||
|
@ -72,9 +72,9 @@ const Request http::parse_request(const string &request)
|
||||
{
|
||||
size = 512;
|
||||
}
|
||||
if (size < 1)
|
||||
if (size == 0)
|
||||
{
|
||||
size = 1;
|
||||
size = 80;
|
||||
}
|
||||
}
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user