Refactored a tiny little bit.
the build was successful Details

This commit is contained in:
tastytea 2018-11-28 16:13:42 +01:00
parent 95741d99b8
commit b0e267f13f
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 4 additions and 2 deletions

View File

@ -63,7 +63,8 @@ int main()
}
else
{
cerr << "Error " << std::to_string(image.error) << ": Could not open file.\n";
cerr << "Error " << std::to_string(image.error)
<< ": Could not open file.\n";
if (global::settings.redirect_nouser)
{
http::send_redirect(avatar);
@ -150,7 +151,8 @@ bool find_avatar_dir()
for (uint8_t index = 0; index <= size; ++index)
{
const string searchdir = data_dirs[index] + string("/libravatarserv");
const string searchdir = data_dirs[index]
+ string("/libravatarserv");
if (fs::is_directory(searchdir))
{
avatar_dir = searchdir;