]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 214199 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Wed, 26 Aug 2009 16:55:09 +0000 (16:55 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Wed, 26 Aug 2009 16:55:09 +0000 (16:55 +0000)
https://origsvn.digium.com/svn/asterisk/trunk

........
  r214199 | tilghman | 2009-08-26 11:53:03 -0500 (Wed, 26 Aug 2009) | 6 lines

  Typo fix ("SIP/2.0 XXX" is 11 chars, not 10)
  (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/branches/1.6.1@214201 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 1b7fd02cbfea48d746678d779168925862ce08d7..45446bfe8a1e5a654ce551a6a4d89611cd79a322 100644 (file)
@@ -2884,7 +2884,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(1, "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(1, "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;