summaryrefslogtreecommitdiff
path: root/Libraries/LibCore/CHttpJob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibCore/CHttpJob.cpp')
-rw-r--r--Libraries/LibCore/CHttpJob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibCore/CHttpJob.cpp b/Libraries/LibCore/CHttpJob.cpp
index 1548ada8ae..b1605f36ae 100644
--- a/Libraries/LibCore/CHttpJob.cpp
+++ b/Libraries/LibCore/CHttpJob.cpp
@@ -38,7 +38,7 @@ void CHttpJob::on_socket_connected()
}
auto parts = String::copy(line, Chomp).split(' ');
if (parts.size() < 3) {
- fprintf(stderr, "CHttpJob: Expected 3-part HTTP status, got '%s'\n", line.pointer());
+ fprintf(stderr, "CHttpJob: Expected 3-part HTTP status, got '%s'\n", line.data());
return deferred_invoke([this](auto&) { did_fail(CNetworkJob::Error::ProtocolFailed); });
}
bool ok;