diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/MTS_IO_CellularRadio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MTS_IO_CellularRadio.cpp b/src/MTS_IO_CellularRadio.cpp index 02bbd33..7391166 100644 --- a/src/MTS_IO_CellularRadio.cpp +++ b/src/MTS_IO_CellularRadio.cpp @@ -564,7 +564,7 @@ CellularRadio::CODE CellularRadio::getMdn(std::string& sMdn) { if(start != std::string::npos) { start += sizeof("CNUM:"); std::vector<std::string> vParts = MTS::Text::split(sResult.substr(start, end - start), ','); - if(vParts.size() != 3) { + if(vParts.size() < 3) { printWarning("%s| Unable to parse MDN from response [%s]", m_sName.c_str(), sResult.c_str()); return FAILURE; } |