Changeset 4199


Ignore:
Timestamp:
04/29/11 12:33:12 (10 years ago)
Author:
paulf
Message:

fixed a problem with the directory searching option, no heartbeats issued when no data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/archiving/tankplayer/tankplayer.c

    r4128 r4199  
    360360              tport_detach( &Region ); 
    361361              return( 0 ); 
     362            } 
     363            if( time(&timeNow)-timeLastBeat >= HeartBeatInt ) 
     364            { 
     365              timeLastBeat = timeNow; 
     366              tankplayer_status( TypeHeartBeat, 0, "" ); 
    362367            } 
    363368            if( GetFileName(fname) == 1 ) {  /* No files found; wait for one to appear */ 
Note: See TracChangeset for help on using the changeset viewer.