mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-12 08:47:50 +01:00
oops -- prev checkin didn't compile
This commit is contained in:
parent
1c5fef6a38
commit
3984d85795
1 changed files with 1 additions and 1 deletions
|
@ -1163,7 +1163,7 @@ handle_udp_packet( int udpsock )
|
||||||
|
|
||||||
ssize_t nRead = recvfrom( udpsock, buf, sizeof(buf), 0 /*flags*/,
|
ssize_t nRead = recvfrom( udpsock, buf, sizeof(buf), 0 /*flags*/,
|
||||||
&saddr.addr, &fromlen );
|
&saddr.addr, &fromlen );
|
||||||
logf( XW_LOGINFO, "%s: recvfrom=>%d", __func__, utc->len() );
|
logf( XW_LOGINFO, "%s: recvfrom=>%d", __func__, nRead );
|
||||||
if ( 0 < nRead ) {
|
if ( 0 < nRead ) {
|
||||||
UdpQueue::get()->handle( &saddr, buf, nRead, udp_thread_proc );
|
UdpQueue::get()->handle( &saddr, buf, nRead, udp_thread_proc );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue