pkgsrc/comms/asterisk13/patches/patch-channels_chan__unistim.c
2015-12-05 23:29:05 +00:00

13 lines
465 B
C

$NetBSD: patch-channels_chan__unistim.c,v 1.1.1.1 2015/12/05 23:29:09 jnemeth Exp $
--- channels/chan_unistim.c.orig 2015-10-09 21:48:48.000000000 +0000
+++ channels/chan_unistim.c
@@ -1021,7 +1021,7 @@ static int get_to_address(int fd, struct
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(struct sockaddr_in));
return 0;
#endif
}