Fix newlines

This commit is contained in:
ArsenArsen 2017-08-21 16:25:11 +02:00
parent 4d53e2c403
commit 6881200563

View File

@ -38,7 +38,8 @@ void requestlogging::addEntry(RequestContext context) {
QTextStream(&requestFile) << ioutils::methodString(context.reply->operation()) << " " // $type
<< context.reply->url().toString() << " " // $url
<< context.reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt() << " " // $status
<< timeNow.replace(" ", "_"); // $time
<< timeNow.replace(" ", "_") << endl
<< flush; // $time
requestFile.close();
}