From 800e5d69f87d446e2abbb00b078c33abf9384016 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Wed, 6 Sep 2017 15:22:43 +0200 Subject: [PATCH] nhttpd: de-capitalize hooknames for controlapi and neutrinoyparser Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/d24fd89cd7834a05948f768c484ccb3223cf3b24 Author: vanhofen Date: 2017-09-06 (Wed, 06 Sep 2017) Origin message was: ------------------ - nhttpd: de-capitalize hooknames for controlapi and neutrinoyparser --- src/nhttpd/tuxboxapi/controlapi.h | 2 +- src/nhttpd/tuxboxapi/neutrinoyparser.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nhttpd/tuxboxapi/controlapi.h b/src/nhttpd/tuxboxapi/controlapi.h index 2bfbe0bf1..afa823635 100644 --- a/src/nhttpd/tuxboxapi/controlapi.h +++ b/src/nhttpd/tuxboxapi/controlapi.h @@ -155,7 +155,7 @@ public: CControlAPI(CNeutrinoAPI *_NeutrinoAPI); // virtual functions for HookHandler/Hook - virtual std::string getHookName(void) {return std::string("mod_ControlAPI");} + virtual std::string getHookName(void) {return std::string("controlapi");} virtual std::string getHookVersion(void) {return std::string("$Revision$");} virtual THandleStatus Hook_SendResponse(CyhookHandler *hh); virtual THandleStatus Hook_PrepareResponse(CyhookHandler *hh); diff --git a/src/nhttpd/tuxboxapi/neutrinoyparser.h b/src/nhttpd/tuxboxapi/neutrinoyparser.h index 4a8e2ec9d..31404d08d 100644 --- a/src/nhttpd/tuxboxapi/neutrinoyparser.h +++ b/src/nhttpd/tuxboxapi/neutrinoyparser.h @@ -67,7 +67,7 @@ public: virtual std::string YWeb_cgi_func(CyhookHandler *hh, std::string ycmd); // virtual functions for HookHandler/Hook - virtual std::string getHookName(void) {return std::string("mod_NeutrinoYParser");} + virtual std::string getHookName(void) {return std::string("neutrinoyparser");} virtual std::string getHookVersion(void) {return std::string("$Revision$");} virtual THandleStatus Hook_SendResponse(CyhookHandler *hh); virtual THandleStatus Hook_ReadConfig(CConfigFile *Config, CStringList &ConfigList);