Permalink
Browse files

Fixed bug.

  • Loading branch information...
irungentoo committed Sep 6, 2016
1 parent 755f084 commit e6af3a7825e8307a501bc7c3e7b1ff323f081870
Showing with 2 additions and 2 deletions.
  1. +2 −2 toxcore/LAN_discovery.c
View
@@ -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;

0 comments on commit e6af3a7

Please sign in to comment.