summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
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";