Replaced "\n\n" with << endl << endl for consistency
the build was successful
Details
the build was successful
Details
This commit is contained in:
parent
268ff7ab6f
commit
513391f44b
|
@ -71,7 +71,7 @@ void image::write(Image &image)
|
||||||
string magick = image.image.magick();
|
string magick = image.image.magick();
|
||||||
std::transform(magick.begin(), magick.end(), magick.begin(), ::tolower);
|
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.
|
cout.flush(); // We need to flush before we use /dev/stdout directly.
|
||||||
image.image.write("/dev/stdout");
|
image.image.write("/dev/stdout");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue