Ignore:
Timestamp:
06/21/11 21:23:58 (13 years ago)
Author:
tbretz
Message:
Don't count NumConnected down if already 0.
File:
1 edited

Legend:

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

    r11091 r11094  
    855855 for (i=0; i<MAX_SOCK; i++) { 
    856856    GenSock(-1, i, 0, NULL, &rd[i]) ; //close and destroy socket   
    857     gi_NumConnect[ i/7 ]-- ;
     857    if (gi_NumConnect[ i/7 ]>0)
     858        gi_NumConnect[ i/7 ]-- ;
    858859 }
    859860
Note: See TracChangeset for help on using the changeset viewer.