diff options
-rw-r--r-- | pages/vlc.ecpp | 4 | ||||
-rw-r--r-- | tntfeatures.h | 3 |
2 files changed, 0 insertions, 7 deletions
diff --git a/pages/vlc.ecpp b/pages/vlc.ecpp index d1f1405..480e949 100644 --- a/pages/vlc.ecpp +++ b/pages/vlc.ecpp @@ -98,12 +98,8 @@ using namespace vdrlive; } </%cpp> <%cpp> -#if TNT_HAS_GETHOST string server = request.getHost(); server = server.substr(0, server.rfind(':')); -#else - string server = request.getServerIp(); -#endif string videourl; if (Channel != 0) { int streamdevPort = LiveSetup().GetStreamdevPort(); diff --git a/tntfeatures.h b/tntfeatures.h index 0aabaca..d3404ec 100644 --- a/tntfeatures.h +++ b/tntfeatures.h @@ -13,9 +13,6 @@ // Query params without boolean parameter #define TNT_QUERYPARAMS_NO_BOOL (TNTVERSION >= 22000) -// One can request the host part of the request url -#define TNT_HAS_GETHOST (TNTVERSION >= 16060) - // new version of TNTNET allow the request watchdog to be silenced. #define TNT_WATCHDOG_SILENCE (TNTVERSION >= 16900) |