mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fixed bug.
This commit is contained in:
parent
755f084e87
commit
e6af3a7825
|
@ -49,8 +49,8 @@ static void fetch_broadcast_info(uint16_t port)
|
|||
{
|
||||
broadcast_count = 0;
|
||||
|
||||
IP_ADAPTER_INFO *pAdapterInfo = malloc(sizeof(pAdapterInfo));
|
||||
unsigned long ulOutBufLen = sizeof(pAdapterInfo);
|
||||
IP_ADAPTER_INFO *pAdapterInfo = malloc(sizeof(IP_ADAPTER_INFO));
|
||||
unsigned long ulOutBufLen = sizeof(IP_ADAPTER_INFO);
|
||||
|
||||
if (pAdapterInfo == NULL) {
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue
Block a user