Ignore:
Timestamp:
04/08/08 10:09:38 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mreport/MReportDrive.cc

    r7202 r8885  
    119119
    120120    str.Remove(0, len);
     121    str = str.Strip(TString::kBoth);
    121122
    122     str = str.Strip(TString::kBoth);
     123    if (ver>=200802200)
     124    {
     125        Int_t dummy; // Cosy armed or not
     126        n=sscanf(str.Data(), "%d %n", &dummy, &len);
     127        if (n!=1)
     128        {
     129            *fLog << warn << "WARNING - Not enough arguments." << endl;
     130            return kCONTINUE;
     131        }
     132
     133        str.Remove(0, len);
     134        str = str.Strip(TString::kBoth);
     135    }
    123136
    124137    return str.IsNull() ? kTRUE : kCONTINUE;
Note: See TracChangeset for help on using the changeset viewer.