From d67fd6103956046245744cf5cf094d4da8cbcc19 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Wed, 29 Dec 2010 21:54:04 +0100 Subject: Don't read entire directory tree into memory. --- httpd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httpd.cpp') diff --git a/httpd.cpp b/httpd.cpp index 0c1015d..9e6d132 100644 --- a/httpd.cpp +++ b/httpd.cpp @@ -22,7 +22,7 @@ void HTTPConnection::handle_read(const boost::system::error_code& error, size_t HTTPResponse res(socket); - MusicListing *ml = music::find(req.path); + MusicListing::p ml = music::get(req.path); if(ml) { res.code = 200; res.status = "OK"; -- cgit v1.2.3