mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-11 20:17:05 +00:00
fix for FSCORE-40
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5566 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
d3aa5b433b
commit
f1222ba2fd
14 files changed
+48
-30
No files matched your search
@@ -278,8 +278,8 @@ static switch_status_t iax_set_codec(private_t * tech_pvt, struct iax_session *i
|
||||
char pref_str[256] = "(";
|
||||
|
||||
for (x = 0; x < len; x++) {
|
||||
strncat(pref_str, ast2str(prefs[x]), sizeof(pref_str));
|
||||
strncat(pref_str, x == len - 1 ? ")" : ",", sizeof(pref_str));
|
||||
strncat(pref_str, ast2str(prefs[x]), sizeof(pref_str)-1);
|
||||
strncat(pref_str, x == len - 1 ? ")" : ",", sizeof(pref_str)-1);
|
||||
}
|
||||
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Codec Prefs Detected: %s\n", pref_str);
|
||||
|
||||
Reference in new issue
Block a user