forked from tastytea/libravatarserv
parent
7efec890f7
commit
e893a4066f
|
@ -1,6 +1,6 @@
|
||||||
cmake_minimum_required (VERSION 3.2)
|
cmake_minimum_required (VERSION 3.2)
|
||||||
project(libravatarserv
|
project(libravatarserv
|
||||||
VERSION 0.2.4
|
VERSION 0.2.5
|
||||||
LANGUAGES CXX
|
LANGUAGES CXX
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -67,6 +67,11 @@ int main()
|
||||||
{
|
{
|
||||||
size = static_cast<uint16_t>(std::stoul(digest.substr(pos_size + 2)));
|
size = static_cast<uint16_t>(std::stoul(digest.substr(pos_size + 2)));
|
||||||
}
|
}
|
||||||
|
pos_size = digest.find("size=", pos_digest);
|
||||||
|
if (pos_size != std::string::npos)
|
||||||
|
{
|
||||||
|
size = static_cast<uint16_t>(std::stoul(digest.substr(pos_size + 5)));
|
||||||
|
}
|
||||||
digest = digest.substr(0, pos_digest);
|
digest = digest.substr(0, pos_digest);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user