aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-25 16:04:25 +0000
committerroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-25 16:04:25 +0000
commitd6143827201bb3253609111d52a1736254732b9a (patch)
tree21c715c388050b0c03cdb7391f4d7ac076495dd4
parent436baf6bae396e8a257793c23a97502d5b4f0588 (diff)
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@35942 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index ba53fb936..350a3e666 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -9458,7 +9458,7 @@ static char *function_sippeer(struct ast_channel *chan, char *cmd, char *data, c
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")) {