mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-19 08:11:21 +00:00
Merge "chan_unistim: Fix memcpy in get_to_address" into 13
This commit is contained in:
@@ -1021,7 +1021,7 @@ static int get_to_address(int fd, struct sockaddr_in *toAddr)
|
||||
memcpy(&toAddr->sin_addr, &ip_msg.address, sizeof(struct in_addr));
|
||||
return err;
|
||||
#else
|
||||
memcpy(&toAddr, &public_ip, sizeof(&toAddr));
|
||||
memcpy(toAddr, &public_ip, sizeof(*toAddr));
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user