corrected for warnings from Borland.

This commit is contained in:
skarg
2005-05-26 18:53:16 +00:00
parent 3029fed576
commit 58746c2182
8 changed files with 61 additions and 11 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ bool ethernet_init(char *interface_name)
if (bind(Ethernet_Socket,
&Ethernet_Address, sizeof(Ethernet_Address)) == SOCKET_ERROR)
fprintf(stderr,"ethernet: failed to bind to socket!\r\n");
setsockopt(Ethernet_Socket,SOL_SOCKET,SO_802_2,(char *)&value,sizeof(value));
//setsockopt(Ethernet_Socket,SOL_SOCKET,SO_802_2,(char *)&value,sizeof(value));
return ethernet_valid();
}