Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
7db69f10
Commit
7db69f10
authored
Apr 23, 2012
by
Tristan Matthews
Browse files
* #9905: SipTransport: address has to stay on stack to be valid
parent
d3bb0daf
Changes
1
Hide whitespace changes
Inline
Side-by-side
daemon/src/sip/siptransport.cpp
View file @
7db69f10
...
...
@@ -418,7 +418,8 @@ SipTransport::createUdpTransport(const std::string &interface, unsigned int port
std
::
ostringstream
fullAddress
;
fullAddress
<<
listeningAddress
<<
":"
<<
listeningPort
;
pj_str_t
udpString
;
pj_cstr
(
&
udpString
,
fullAddress
.
str
().
c_str
());
std
::
string
fullAddressStr
(
fullAddress
.
str
());
pj_cstr
(
&
udpString
,
fullAddressStr
.
c_str
());
pj_sockaddr
boundAddr
;
pj_sockaddr_parse
(
pj_AF_UNSPEC
(),
0
,
&
udpString
,
&
boundAddr
);
pj_status_t
status
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment