From 226fd63fab4b5b605c62049c6a9d765de8d6c4db Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sun, 2 Jan 2011 21:22:57 +0100 Subject: Add PathList, fix path_p. --- main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'main.cpp') 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"; -- cgit v1.2.3