Skip to content

Commit

Permalink
MythHTTPResponse: Remove superfluous .constData
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-kendall committed Jan 20, 2021
1 parent 55b9100 commit 158c1ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythbase/http/mythhttpresponse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ void MythHTTPResponse::AddDefaultHeaders()
MythHTTPRanges::HandleRangeRequest(this, range);

QByteArray def = QString("%1 %2\r\n").arg(MythHTTP::VersionToString(m_version))
.arg(MythHTTP::StatusToString(m_status).constData()).toUtf8();
.arg(MythHTTP::StatusToString(m_status)).toUtf8();
m_responseHeaders.emplace_back(MythHTTPData::Create(def));
HEADER("Date", MythDate::toString(MythDate::current(), MythDate::kRFC822)) // RFC 822
HEADER("Server", m_serverName)
Expand Down

0 comments on commit 158c1ac

Please sign in to comment.