From: Igor Goncharovskiy Date: Sun, 9 Oct 2011 01:16:09 +0000 (+0000) Subject: Fix compilation issue, caused by missed session structure X-Git-Tag: 1.8.9.0-rc1~166 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e05620bb78cd9c82a2382b936a988a0db4b973e;p=thirdparty%2Fasterisk.git Fix compilation issue, caused by missed session structure (closes issue ASTERISK-18694) Reported by: alex70 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339938 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_unistim.c b/channels/chan_unistim.c index 7420f7003f..2122e38234 100644 --- a/channels/chan_unistim.c +++ b/channels/chan_unistim.c @@ -882,7 +882,7 @@ static struct unistimsession *create_client(const struct sockaddr_in *addr_from) memcpy(&s->sin, addr_from, sizeof(struct sockaddr_in)); get_to_address(unistimsock, &s->sout); - sout.sin_family = AF_INET; + s->sout.sin_family = AF_INET; if (unistimdebug) { ast_verb(0, "Creating a new entry for the phone from %s received via server ip %s\n", ast_inet_ntoa(addr_from->sin_addr), ast_inet_ntoa(s->sout.sin_addr));