Subversion Repositories f9daq

Compare Revisions

Ignore whitespace Rev 201 → Rev 202

/drs/drs.C
137,6 → 137,7
time_t t0,told;
time(&t0);
told=t0-1;
int posrec[2];
while(!feof(fin)) {
if (iev>=nev) break;
stat=fread(recid,1,4,fin);
145,6 → 146,12
else printf("%s\n",recid );
}
switch (recid[0]) {
case 'P': // position record
stat=fread(posrec,1,8,fin);
break;
case 'D': // DRS
version = atoi(&recid[3]);
break;