mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +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,
|
send_via_udp( socket, saddr, XWPDEV_MSG, &asNetTok,
|
||||||
sizeof(asNetTok), buf, bufLen, NULL );
|
sizeof(asNetTok), buf, bufLen, NULL );
|
||||||
logf( XW_LOGINFO, "%s: sent %d bytes on UDP socket %d, token=%x(%d)",
|
logf( XW_LOGINFO, "%s: sent %d bytes (plus header) on UDP socket %d, "
|
||||||
__func__, bufLen, socket, clientToken, clientToken );
|
"token=%x(%d)", __func__, bufLen, socket, clientToken,
|
||||||
|
clientToken );
|
||||||
ok = true;
|
ok = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue