fixed logging

This commit is contained in:
Magnus Auvinen 2008-10-01 18:34:43 +00:00
parent eb983a6446
commit 7ebdb8d4d7
2 changed files with 9 additions and 1 deletions

View file

@ -184,9 +184,14 @@ void purge_servers()
int main(int argc, char **argv)
{
NETADDR bindaddr;
dbg_logger_stdout();
net_init();
mem_zero(&bindaddr, sizeof(bindaddr));
bindaddr.port = MASTERSERVER_PORT;
net_op.open(bindaddr, 0);
bindaddr.port = MASTERSERVER_PORT+1;

View file

@ -30,9 +30,12 @@ void send_ver(NETADDR *addr)
int main(int argc, char **argv)
{
NETADDR bindaddr;
dbg_logger_stdout();
net_init();
mem_zero(&bindaddr, sizeof(bindaddr));
bindaddr.port = VERSIONSRV_PORT;
net_op.open(bindaddr, 0);
dbg_msg("versionsrv", "started");