VS build fix

This commit is contained in:
Jamie Robertson 2017-04-07 07:09:24 +01:00 committed by Robert Osfield
parent 0f04d2f032
commit 0e69fe6bc6

View File

@ -135,8 +135,8 @@ bool Broadcaster::init( void )
#if !defined (WIN32) || defined(__CYGWIN__)
struct ifreq ifr;
#endif
strcpy( ifr.ifr_name, _ifr_name.c_str());
#endif
#if defined (WIN32) // get the server address
saddr.sin_addr.s_addr = htonl(INADDR_BROADCAST);
}