From 1e6b04826b45bbb0a9b2df1fa7413ef80b112e3a Mon Sep 17 00:00:00 2001 From: thlo Date: Sun, 15 Sep 2013 08:12:04 +0200 Subject: New function to activate and deactivate a timer --- httpresource.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'httpresource.c') diff --git a/httpresource.c b/httpresource.c index 76f7956..854cf96 100755 --- a/httpresource.c +++ b/httpresource.c @@ -352,14 +352,13 @@ int cHttpResource::processRequest() { } //thlo for testing purpose -/* - if (mPath.compare("/modifyTimer") == 0) { + + if (mPath.compare("/activateTimer") == 0) { mResponse = new cResponseMemBlk(this); - ((cResponseMemBlk*)mResponse)->receiveModTimerReq(); + ((cResponseMemBlk*)mResponse)->receiveActTimerReq(); return OKAY; } -*/ - //thlo for testing purpose + if (mPath.compare("/addTimer") == 0) { mResponse = new cResponseMemBlk(this); ((cResponseMemBlk*)mResponse)->receiveAddTimerReq(); -- cgit v1.2.3