[asterisk-commits] file: branch file/pimp_sip_media r380924 - /team/file/pimp_sip_media/res/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Feb 5 19:28:59 CST 2013
Author: file
Date: Tue Feb 5 19:28:57 2013
New Revision: 380924
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=380924
Log:
Same here! Not actually used.
Modified:
team/file/pimp_sip_media/res/res_sip_sdp_audio.c
Modified: team/file/pimp_sip_media/res/res_sip_sdp_audio.c
URL: http://svnview.digium.com/svn/asterisk/team/file/pimp_sip_media/res/res_sip_sdp_audio.c?view=diff&rev=380924&r1=380923&r2=380924
==============================================================================
--- team/file/pimp_sip_media/res/res_sip_sdp_audio.c (original)
+++ team/file/pimp_sip_media/res/res_sip_sdp_audio.c Tue Feb 5 19:28:57 2013
@@ -259,7 +259,7 @@
/*! \brief Function which applies a negotiated SDP stream */
static int audio_apply_negotiated_sdp_stream(struct ast_sip_session *session, const struct pjmedia_sdp_session *sdp, const struct pjmedia_sdp_media *stream)
{
- int res = 1, addrs_cnt, format, othercapability = 0;
+ int res = 1, format, othercapability = 0;
char host[NI_MAXHOST];
struct ast_sockaddr *addrs = NULL;
struct ast_rtp_codecs codecs;
@@ -279,7 +279,7 @@
}
/* Ensure that the address provided is valid */
- if ((addrs_cnt = ast_sockaddr_resolve(&addrs, host, PARSE_PORT_FORBID, AST_AF_UNSPEC)) <= 0) {
+ if (ast_sockaddr_resolve(&addrs, host, PARSE_PORT_FORBID, AST_AF_UNSPEC)) {
/* The provided host was actually invalid so we error out this negotiation */
return -1;
}
More information about the asterisk-commits
mailing list