Changeset 11191


Ignore:
Timestamp:
06/27/11 13:24:53 (13 years ago)
Author:
tbretz
Message:
Workaroudn for a problem with negative gi_NumConnects
File:
1 edited

Legend:

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

    r11187 r11191  
    885885 factOut(kInfo,-1, str ) ;
    886886 for (i=0; i<MAX_SOCK; i++) { 
    887     GenSock(-1, i, 0, NULL, &rd[i]) ; //close and destroy socket   
    888     gi_NumConnect[ i/7 ]-- ;
     887     GenSock(-1, i, 0, NULL, &rd[i]) ; //close and destroy socket
     888     if (gi_NumConnect[ i/7 ]>0)
     889         gi_NumConnect[ i/7 ]-- ;
    889890 }
    890891
Note: See TracChangeset for help on using the changeset viewer.