Changeset 1964 in Sophya
- Timestamp:
- Apr 16, 2002, 10:28:53 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/Kernel/toisegment.cc
r1944 r1964 3 3 // Christophe Magneville 4 4 // Reza Ansari 5 // $Id: toisegment.cc,v 1.2 6 2002-03-23 23:05:22aubourg Exp $5 // $Id: toisegment.cc,v 1.27 2002-04-16 08:28:53 aubourg Exp $ 6 6 7 7 #include "toisegment.h" … … 201 201 throw(ForbiddenError("TOISegment : putData in committed buffer")); 202 202 } 203 if (n==0) return; 203 204 checkInRange(sn); 204 205 checkInRange(sn+n-1); … … 412 413 } 413 414 int sn2 = snmax > (sn1+nsam-1) ? (sn1+nsam-1) : snmax; 414 i f (snmax>0) {415 int nput = sn2-sn1+1;415 int nput = sn2-sn1+1; 416 if (snmax>0 && nput>0) { 416 417 currentSegment->putData(sn1, nput, pdat, pflg); 417 418 pdat += nput;
Note:
See TracChangeset
for help on using the changeset viewer.