diff options
Diffstat (limited to 'httpresource.c')
-rwxr-xr-x | httpresource.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/httpresource.c b/httpresource.c index e20bf00..f718816 100755 --- a/httpresource.c +++ b/httpresource.c @@ -92,10 +92,10 @@ cHttpResource::cHttpResource(int f, int id, int port, SmartTvServer* factory): c setNonBlocking(); // mBlkData = new char[MAXLEN]; - //#ifndef DEBUG +#ifndef DEBUG *(mLog->log()) << DEBUGPREFIX << " cHttpResource created" << endl; - //#endif +#endif } @@ -580,6 +580,13 @@ int cHttpResource::handlePost() { return OKAY; } + if (mPath.compare("/deleteYtUrl") == 0) { + + mResponse = new cResponseMemBlk(this); + ((cResponseMemBlk*)mResponse)->receiveDelYtUrl(); + return OKAY; + } + if (mPath.compare("/deleteRecording.xml") == 0) { mResponse = new cResponseMemBlk(this); |