diff options
Diffstat (limited to '')
-rw-r--r-- | src/output/HttpdClient.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/output/HttpdClient.cxx b/src/output/HttpdClient.cxx index c097e48f1..9ed7805dc 100644 --- a/src/output/HttpdClient.cxx +++ b/src/output/HttpdClient.cxx @@ -431,10 +431,9 @@ HttpdClient::OnSocketInput(const void *data, size_t length) } void -HttpdClient::OnSocketError(GError *error) +HttpdClient::OnSocketError(Error &&error) { - g_warning("error on HTTP client: %s", error->message); - g_error_free(error); + g_warning("error on HTTP client: %s", error.GetMessage()); } void |