Typo fix ("SIP/2.0 XXX" is 11 chars, not 10)
authorTilghman Lesher <tilghman@meg.abyt.es>
Wed, 26 Aug 2009 16:53:03 +0000 (16:53 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Wed, 26 Aug 2009 16:53:03 +0000 (16:53 +0000)
(closes issue #15362)
 Reported by: klaus3000
 Patches:
       chan_sip.c_logmessagefix_patch.txt uploaded by klaus3000 (license 65)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@214199 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index a06f206..3987765 100644 (file)
@@ -3410,7 +3410,7 @@ static int __sip_xmit(struct sip_pvt *p, struct ast_str *data, int len)
        int res = 0;
        const struct sockaddr_in *dst = sip_real_dst(p);
 
-       ast_debug(2, "Trying to put '%.10s' onto %s socket destined for %s:%d\n", data->str, get_transport_pvt(p), ast_inet_ntoa(dst->sin_addr), htons(dst->sin_port));
+       ast_debug(2, "Trying to put '%.11s' onto %s socket destined for %s:%d\n", data->str, get_transport_pvt(p), ast_inet_ntoa(dst->sin_addr), htons(dst->sin_port));
 
        if (sip_prepare_socket(p) < 0)
                return XMIT_ERROR;