Update of /cvsroot/srvx/services/src
In directory usw-pr-cvs1:/tmp/cvs-serv15814/src
Modified Files:
proto-bahamut.c
Log Message:
Make a small update to the Bahamut protocol support so it compiles again.
Index: proto-bahamut.c
===================================================================
RCS file: /cvsroot/srvx/services/src/proto-bahamut.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -r1.23 -r1.24
*** proto-bahamut.c 9 Sep 2002 19:13:51 -0000 1.23
--- proto-bahamut.c 21 Oct 2002 02:33:24 -0000 1.24
***************
*** 923,930 ****
self = AddServer(NULL, str, 0, boot_time, now, NULL, desc);
! tmp = conf_server_ping_freq();
! if (tmp != -1) ping_freq = tmp;
! tmp = conf_server_ping_timeout();
! if (tmp != -1) ping_timeout = tmp;
service_msginfo_dict = dict_new();
--- 923,930 ----
self = AddServer(NULL, str, 0, boot_time, now, NULL, desc);
! str = conf_get_data("server/ping_freq", RECDB_QSTRING);
! ping_freq = str ? ParseInterval(str) : 120;
! str = conf_get_data("server/ping_timeout", RECDB_QSTRING);
! ping_timeout = str ? ParseInterval(str) : 30;
service_msginfo_dict = dict_new();
|