Ignore:
Timestamp:
04/29/09 13:05:42 (15 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/tcpip/MCeCoCom.cc

    r9432 r9435  
    4242bool MCeCoCom::InterpreteReport(TString &str)
    4343{
     44    if (!str.EndsWith("OVER"))
     45    {
     46        cout << "Communication Problem: Termination (OVER) not found." << endl;
     47        fComStat = kComProblem;
     48        return false;
     49    }
     50
    4451    int y, m, d, h, min, s, ms, len;
    4552
     
    7481        return false;
    7582    }
     83/*
    7684    str.Remove(0, len);
    7785
     
    8290        return false;
    8391    }
     92 */
    8493
    8594    fHumidity = hum;
     
    142151
    143152    // Send report to CC
    144     const bool rc = Send(msg, strlen(msg));
     153    const bool rc = Send(msg.Data(), msg.Length());
    145154    fComStat = rc ? kNoCmdReceived : kComProblem;
    146155
Note: See TracChangeset for help on using the changeset viewer.