Skip to content

Commit

Permalink
Format HttpReasonPhraseAttribute as string
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOneRing committed Aug 30, 2023
1 parent 3b5844e commit 94b8383
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/libsync/propagateupload.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,9 @@ void PUTFileJob::finished()
{
_device->close();

qCInfo(lcPutJob) << "PUT of" << reply()->request().url().toString() << "FINISHED WITH STATUS"
<< replyStatusString()
qCInfo(lcPutJob) << "PUT of" << reply()->request().url().toString() << "FINISHED WITH STATUS" << replyStatusString()
<< reply()->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt()
<< reply()->attribute(QNetworkRequest::HttpReasonPhraseAttribute);
<< reply()->attribute(QNetworkRequest::HttpReasonPhraseAttribute).toString();
}

void PUTFileJob::newReplyHook(QNetworkReply *reply)
Expand Down

0 comments on commit 94b8383

Please sign in to comment.