summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2011-01-02 21:22:57 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2011-01-02 21:45:46 +0100
commit226fd63fab4b5b605c62049c6a9d765de8d6c4db (patch)
tree541e78e6e47117dccecdb1b56b5c666132305849 /main.cpp
parentf78248234b3f284b77a35b3249ccfb526d18c871 (diff)
Add PathList, fix path_p.
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.cpp b/main.cpp
index c66c6ec..ebe3554 100644
--- a/main.cpp
+++ b/main.cpp
@@ -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";