fix
[enigma2.git] / lib / dvb / frontend.cpp
index 3e2efbe7cfba07752395815f4dda1fd353d992cd..7b71ca13ac5a6d0b17aa8179e1731fb00464b154 100644 (file)
 #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;