Changeset 7182 in ntrip for trunk/BNC/src


Ignore:
Timestamp:
Aug 14, 2015, 2:45:30 PM (9 years ago)
Author:
stuerze
Message:

minor changes to prevent crash because of chenaged mountPoint entries

Location:
trunk/BNC/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bnccaster.cpp

    r7180 r7182  
    385385    ++iMount;
    386386    QStringList hlp = it.next().split(" ");
    387     if (hlp.size() <= 1) continue;
     387    if (hlp.size() < 7) continue;
    388388    QUrl url(hlp[0]);
    389389
  • trunk/BNC/src/bncfigure.cpp

    r4278 r7182  
    8282  while (it.hasNext()) {
    8383    QStringList hlp   = it.next().split(" ");
     84    if (hlp.size() <= 1) continue;
    8485    QUrl        url(hlp[0]);
    8586    QByteArray  staID = url.path().mid(1).toAscii();
  • trunk/BNC/src/bncfigurelate.cpp

    r4278 r7182  
    7474  while (it.hasNext()) {
    7575    QStringList hlp   = it.next().split(" ");
     76    if (hlp.size() <= 1) continue;
    7677    QUrl        url(hlp[0]);
    7778    QByteArray  staID = url.path().mid(1).toAscii();
  • trunk/BNC/src/bncrinex.cpp

    r7179 r7182  
    334334    while (it.hasNext()) {
    335335      QStringList hlp = it.next().split(" ");
    336       if (hlp.size() <= 1)
     336      if (hlp.size() < 7)
    337337        continue;
    338338      if (hlp.join(" ").indexOf(_statID, 0) != -1) {
  • trunk/BNC/src/bncwindow.cpp

    r7179 r7182  
    14031403  while (it.hasNext()) {
    14041404    QStringList hlp = it.next().split(" ");
    1405     if (hlp.size() < 5) continue;
     1405    if (hlp.size() < 7) continue;
    14061406    _mountPointsTable->insertRow(iRow);
    14071407
Note: See TracChangeset for help on using the changeset viewer.