diff options
Diffstat (limited to 'lib/dvb/frontend.cpp')
| -rw-r--r-- | lib/dvb/frontend.cpp | 4 |
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; |
