From 86b8f5aa0210c001728962c5df30bc6e55ce220f Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Thu, 9 Mar 2006 12:11:23 +0000 Subject: fix --- lib/dvb/frontend.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/dvb/frontend.cpp') 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 #include -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; -- cgit v1.2.3