diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-12-29 21:54:04 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-12-29 21:54:04 +0100 |
commit | d67fd6103956046245744cf5cf094d4da8cbcc19 (patch) | |
tree | 3e0dc28c50644ae271e8b208eb8cb362e0e5a43a /httpd.cpp | |
parent | 945887004432a7634ce096a7c3744b42ae2ab987 (diff) |
Don't read entire directory tree into memory.
Diffstat (limited to 'httpd.cpp')
-rw-r--r-- | httpd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"; |