Replaced "\n\n" with << endl << endl for consistency
the build was successful Details

This commit is contained in:
tastytea 2018-11-29 13:45:46 +01:00
parent 268ff7ab6f
commit 513391f44b
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ void image::write(Image &image)
string magick = image.image.magick();
std::transform(magick.begin(), magick.end(), magick.begin(), ::tolower);
cout << "Content-Type: image/" << magick << "\n\n";
cout << "Content-Type: image/" << magick << endl << endl;
cout.flush(); // We need to flush before we use /dev/stdout directly.
image.image.write("/dev/stdout");
}