mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-18 15:11:51 +00:00
I noticed earlier that MSVC might not compile this without these extra braces
git-svn-id: https://svn.eduke32.com/eduke32@210 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
d93ed5b8cd
commit
e32c2651f2
1 changed files with 6 additions and 4 deletions
|
@ -790,11 +790,13 @@ const char *getexternaladdress(void)
|
|||
return(ipaddr);
|
||||
|
||||
#ifdef _WIN32
|
||||
WSADATA ws;
|
||||
{
|
||||
WSADATA ws;
|
||||
|
||||
if (WSAStartup(0x101,&ws) == SOCKET_ERROR) {
|
||||
initprintf("mmulti: Winsock error in getexternaladdress() (%d)\n",errno);
|
||||
return(0);
|
||||
if (WSAStartup(0x101,&ws) == SOCKET_ERROR) {
|
||||
initprintf("mmulti: Winsock error in getexternaladdress() (%d)\n",errno);
|
||||
return(0);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue