[Asterisk-cvs] asterisk/channels chan_sip.c,1.742,1.743
markster at lists.digium.com
markster at lists.digium.com
Thu May 26 11:02:23 CDT 2005
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv6404/channels
Modified Files:
chan_sip.c
Log Message:
Fix typo about maddr (bug #4386)
Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.742
retrieving revision 1.743
diff -u -d -r1.742 -r1.743
--- chan_sip.c 25 May 2005 20:03:09 -0000 1.742
+++ chan_sip.c 26 May 2005 15:06:24 -0000 1.743
@@ -3459,7 +3459,7 @@
maddr += 6;
hn = strspn(maddr, "0123456789.") + 1;
if (hn > sizeof(hostname)) hn = sizeof(hostname);
- ast_copy_string(hostname, h, hn);
+ ast_copy_string(hostname, maddr, hn);
}
hp = ast_gethostbyname(hostname, &ahp);
More information about the svn-commits
mailing list