Changeset 9462 for trunk/MagicSoft/Mars/mreport
- Timestamp:
- 06/20/09 10:14:33 (15 years ago)
- Location:
- trunk/MagicSoft/Mars/mreport
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mreport/MReport.cc
r9423 r9462 169 169 // 200805190 | 54711.5 | | 200809030 170 170 // 200812040 | 54814.5 | | 200812140 171 // 200902210 | 54968.5 | | 200905170 171 172 // 172 173 Int_t MReport::Interprete(TString &str, const MTime &start, const MTime &stop, Int_t ver) … … 208 209 ver=200812140; 209 210 211 if (ver==200902210 && GetMjd()>54968.5) 212 ver=200905170; 213 210 214 // Interprete body (contents) of report 211 215 const Int_t rc = InterpreteBody(str, ver); -
trunk/MagicSoft/Mars/mreport/MReportDrive.cc
r8885 r9462 135 135 } 136 136 137 if (ver>=200805170) 138 { 139 Int_t dummy; // Starguider switched on or not 140 n=sscanf(str.Data(), "%d %n", &dummy, &len); 141 if (n!=1) 142 { 143 *fLog << warn << "WARNING - Not enough arguments." << endl; 144 return kCONTINUE; 145 } 146 147 str.Remove(0, len); 148 str = str.Strip(TString::kBoth); 149 } 150 137 151 return str.IsNull() ? kTRUE : kCONTINUE; 138 152 }
Note:
See TracChangeset
for help on using the changeset viewer.