mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 11:11:05 +00:00
Merged revisions 35915 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r35915 | tilghman | 2006-06-25 10:10:06 -0500 (Sun, 25 Jun 2006) | 2 lines Bug 7425 - Size of buffer is passed in by len ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35916 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -10913,7 +10913,7 @@ static int function_sippeer(struct ast_channel *chan, char *cmd, char *data, cha
|
||||
if (!strcasecmp(colname, "ip")) {
|
||||
ast_copy_string(buf, peer->addr.sin_addr.s_addr ? ast_inet_ntoa(iabuf, sizeof(iabuf), peer->addr.sin_addr) : "", len);
|
||||
} else if (!strcasecmp(colname, "status")) {
|
||||
peer_status(peer, buf, sizeof(buf));
|
||||
peer_status(peer, buf, len);
|
||||
} else if (!strcasecmp(colname, "language")) {
|
||||
ast_copy_string(buf, peer->language, len);
|
||||
} else if (!strcasecmp(colname, "regexten")) {
|
||||
|
Reference in New Issue
Block a user