mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
fixed logging
This commit is contained in:
parent
eb983a6446
commit
7ebdb8d4d7
|
@ -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;
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue