Replaced "\n\n" with << endl << endl for consistency
All checks were successful
the build was successful
All checks were successful
the build was successful
This commit is contained in:
parent
268ff7ab6f
commit
513391f44b
@ -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");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user