summaryrefslogtreecommitdiff
path: root/command/markad-standalone.cpp
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2017-03-13 18:56:14 +0100
committerJochen Dolze <vdr@dolze.de>2017-03-13 18:56:14 +0100
commitea2e182ec798375f3830f8b794e7408576f139ad (patch)
treeee66408f35c9c547528246bf22ef5f95b3de49f6 /command/markad-standalone.cpp
parent3681d3a18383c238870de7d1ec1f1f9c8079cf89 (diff)
downloadvdr-plugin-markad-master.tar.gz
vdr-plugin-markad-master.tar.bz2
Added compatibility for VDR >= 2.3.1HEADmaster
Added ServusTV-logo (thanks to MegaV0lt, Feature #2448) Added possible fix for GCC compiler warning (Bug #2416)
Diffstat (limited to 'command/markad-standalone.cpp')
-rw-r--r--command/markad-standalone.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/command/markad-standalone.cpp b/command/markad-standalone.cpp
index fb88cca..edd5dd7 100644
--- a/command/markad-standalone.cpp
+++ b/command/markad-standalone.cpp
@@ -158,7 +158,7 @@ void *cOSDMessage::send(void *posd)
struct sockaddr_in name;
name.sin_family = AF_INET;
name.sin_port = htons(osd->port);
- memcpy(&name.sin_addr.s_addr,host->h_addr,sizeof(host->h_addr));
+ memcpy(&name.sin_addr.s_addr,host->h_addr,host->h_length);
uint size = sizeof(name);
int sock;