summaryrefslogtreecommitdiff
path: root/src/vdr-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'src/vdr-plugin')
-rw-r--r--src/vdr-plugin/webvideo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vdr-plugin/webvideo.c b/src/vdr-plugin/webvideo.c
index 10106b4..5758b9b 100644
--- a/src/vdr-plugin/webvideo.c
+++ b/src/vdr-plugin/webvideo.c
@@ -436,7 +436,7 @@ cString cPluginWebvideo::SVDRPCommand(const char *Command, const char *Option, i
if(*Option) {
debug("SVDRP(%s, %s)", Command, Option);
cString twvtref = CreateWvtRef(Option);
- if (twvtref != "") {
+ if (strcmp(twvtref, "") != 0) {
cMenuRequest *req;
if (strcasecmp(Command, "PLAY") == 0)
req = new cStreamUrlRequest(0, twvtref);
@@ -460,7 +460,7 @@ cString cPluginWebvideo::SVDRPCommand(const char *Command, const char *Option, i
cString cPluginWebvideo::CreateWvtRef(const char *url) {
cString domain = parseDomain(url);
- if (domain == "")
+ if (strcmp(domain, "") == 0)
return "";
char *encoded = URLencode(url);