mirror of
https://github.com/glest/glest-source.git
synced 2025-09-28 16:39:01 +02:00
Some bug fixes related to file transfer code and user folders
This commit is contained in:
@@ -1190,7 +1190,7 @@ void BroadCastSocketThread::execute() {
|
||||
for( pn = 1; ; pn++ )
|
||||
{
|
||||
if(difftime(time(NULL),elapsed) >= 1) {
|
||||
time_t elapsed = time(NULL);
|
||||
elapsed = time(NULL);
|
||||
// Broadcast the packet to the subnet
|
||||
if( sendto( bcfd, buff, sizeof(buff) + 1, 0 , (struct sockaddr *)&bcaddr, sizeof(struct sockaddr_in) ) != sizeof(buff) + 1 )
|
||||
{
|
||||
|
Reference in New Issue
Block a user