mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-09 11:28:25 +00:00
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
This commit is contained in:
@@ -882,7 +882,7 @@ static struct unistimsession *create_client(const struct sockaddr_in *addr_from)
|
|||||||
|
|
||||||
memcpy(&s->sin, addr_from, sizeof(struct sockaddr_in));
|
memcpy(&s->sin, addr_from, sizeof(struct sockaddr_in));
|
||||||
get_to_address(unistimsock, &s->sout);
|
get_to_address(unistimsock, &s->sout);
|
||||||
sout.sin_family = AF_INET;
|
s->sout.sin_family = AF_INET;
|
||||||
if (unistimdebug) {
|
if (unistimdebug) {
|
||||||
ast_verb(0, "Creating a new entry for the phone from %s received via server ip %s\n",
|
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));
|
ast_inet_ntoa(addr_from->sin_addr), ast_inet_ntoa(s->sout.sin_addr));
|
||||||
|
|||||||
Reference in New Issue
Block a user