diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2011-01-02 21:22:57 +0100 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2011-01-02 21:45:46 +0100 |
commit | 226fd63fab4b5b605c62049c6a9d765de8d6c4db (patch) | |
tree | 541e78e6e47117dccecdb1b56b5c666132305849 /main.cpp | |
parent | f78248234b3f284b77a35b3249ccfb526d18c871 (diff) |
Add PathList, fix path_p.
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -15,12 +15,13 @@ void foo_handler(HTTP::Connection::p connection) { HTTPResponse res(connection->socket); - MusicListing::p ml = music::get(connection->path); + //MusicListing::p ml = music::get(connection->path); + bool ml = 0; if(ml) { res.code = 200; res.status = "OK"; - ml->render(connection, res); + //ml->render(connection, res); } else { res.code = 404; res.status = "Not Found"; |