Changeset 12464 for trunk/FACT++


Ignore:
Timestamp:
11/09/11 02:55:27 (13 years ago)
Author:
lyard
Message:
I am so tired
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/EventBuilder.c

    r12463 r12464  
    234234        if (EtiMemoryChunks[chunkIndex].pointers[0] == NULL)
    235235        {
    236             factOut(kError, "Chunk %d not allocated as it ought to be. Skipping release", chunkIndex);
     236            snprintf(str, MXSTR, "Chunk %d not allocated as it ought to be. Skipping release", chunkIndex);
     237            factOut(kError, 000, str);
    237238            return;
    238239        }
     
    452453// initialize mBuffer (mark all entries as unused\empty)
    453454
    454    int i;
     455   int i,j;
    455456   uint32_t actime;
    456457
     
    469470      mBufferMapping[i].eventNumber = -1;
    470471      mBufferMapping[i].slot = -1;
    471       for (i=0;i<MAX_CHUNKS;i++)
    472           EtiMemoryChunks[i].pointers[0] = NULL;
     472      for (j=0;j<MAX_CHUNKS;j++)
     473          EtiMemoryChunks[j].pointers[0] = NULL;
    473474      //END ETIENNE
    474475   }
Note: See TracChangeset for help on using the changeset viewer.