aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/frontend.cpp
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-03-09 12:11:23 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-03-09 12:11:23 +0000
commit86b8f5aa0210c001728962c5df30bc6e55ce220f (patch)
tree9dc9deacf2956906cc1a7e26c606bdbdcfe1243b /lib/dvb/frontend.cpp
parentf2c69b1c3a49b8b03866894fe3e3f3a4f330f517 (diff)
downloadenigma2-86b8f5aa0210c001728962c5df30bc6e55ce220f.tar.gz
enigma2-86b8f5aa0210c001728962c5df30bc6e55ce220f.zip
fix
Diffstat (limited to 'lib/dvb/frontend.cpp')
-rw-r--r--lib/dvb/frontend.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/dvb/frontend.cpp b/lib/dvb/frontend.cpp
index 3e2efbe7..7b71ca13 100644
--- a/lib/dvb/frontend.cpp
+++ b/lib/dvb/frontend.cpp
@@ -53,8 +53,10 @@
#include <dvbsi++/cable_delivery_system_descriptor.h>
#include <dvbsi++/terrestrial_delivery_system_descriptor.h>
-void eDVBDiseqcCommand::setData(const char *str)
+void eDVBDiseqcCommand::setCommandString(const char *str)
{
+ if (!str)
+ return;
len = strlen(str);
if (len > MAX_DISEQC_LENGTH)
len = MAX_DISEQC_LENGTH;