mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-03 23:04:08 +01:00
better logging
This commit is contained in:
parent
3737f19548
commit
06dd9a99a1
1 changed files with 3 additions and 2 deletions
|
@ -511,8 +511,9 @@ send_with_length_unsafe( const AddrInfo* addr, const unsigned char* buf,
|
|||
}
|
||||
send_via_udp( socket, saddr, XWPDEV_MSG, &asNetTok,
|
||||
sizeof(asNetTok), buf, bufLen, NULL );
|
||||
logf( XW_LOGINFO, "%s: sent %d bytes on UDP socket %d, token=%x(%d)",
|
||||
__func__, bufLen, socket, clientToken, clientToken );
|
||||
logf( XW_LOGINFO, "%s: sent %d bytes (plus header) on UDP socket %d, "
|
||||
"token=%x(%d)", __func__, bufLen, socket, clientToken,
|
||||
clientToken );
|
||||
ok = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue