/[LeafOK_CVS]/pvpgn-1.7.4/src/d2cs/server.c
ViewVC logotype

Diff of /pvpgn-1.7.4/src/d2cs/server.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 by sysadm, Tue Jun 6 03:41:38 2006 UTC Revision 1.2 by sysadm, Tue Jun 13 16:07:52 2006 UTC
# Line 81  Line 81 
81  #include "gamequeue.h"  #include "gamequeue.h"
82  #include "game.h"  #include "game.h"
83  #include "connection.h"  #include "connection.h"
84    #include "d2charstatus.h"
85  #include "serverqueue.h"  #include "serverqueue.h"
86  #include "common/fdwatch.h"  #include "common/fdwatch.h"
87  #include "server.h"  #include "server.h"
# Line 209  static int server_handle_timed_event(voi Line 210  static int server_handle_timed_event(voi
210          static  time_t  prev_d2ladder_refresh_time=0;          static  time_t  prev_d2ladder_refresh_time=0;
211          static  time_t  prev_s2s_keepalive_time=0;          static  time_t  prev_s2s_keepalive_time=0;
212          static  time_t  prev_timeout_checktime;          static  time_t  prev_timeout_checktime;
213            static  time_t  prev_dump_charstatus_list_interval=0;
214          time_t          now;          time_t          now;
215    
216          now=time(NULL);          now=time(NULL);
# Line 241  static int server_handle_timed_event(voi Line 243  static int server_handle_timed_event(voi
243                  connlist_check_timeout();                  connlist_check_timeout();
244                  prev_timeout_checktime=now;                  prev_timeout_checktime=now;
245          }          }
246            /* by Leaflet */
247            if (now-prev_dump_charstatus_list_interval>(signed)prefs_dump_charstatus_list_interval()) {
248                    charstatus_list_dump(cmdline_get_charstatus_file());
249                    prev_dump_charstatus_list_interval=now;
250            }
251          return 0;          return 0;
252  }  }
253    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1