aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/HttpdClient.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/HttpdClient.hxx')
-rw-r--r--src/output/HttpdClient.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/HttpdClient.hxx b/src/output/HttpdClient.hxx
index 5c1a538cb..78d1ac9d8 100644
--- a/src/output/HttpdClient.hxx
+++ b/src/output/HttpdClient.hxx
@@ -34,7 +34,7 @@ class HttpdClient final : BufferedSocket {
/**
* The httpd output object this client is connected to.
*/
- HttpdOutput *const httpd;
+ HttpdOutput &httpd;
/**
* The current state of the client.
@@ -120,7 +120,7 @@ public:
* @param httpd the HTTP output device
* @param fd the socket file descriptor
*/
- HttpdClient(HttpdOutput *httpd, int _fd, EventLoop &_loop,
+ HttpdClient(HttpdOutput &httpd, int _fd, EventLoop &_loop,
bool _metadata_supported);
/**