--------------------- PatchSet 5886 Date: 2007/10/06 20:28:00 Author: serassio Branch: squid3-ipv6 Tag: (none) Log: Use SQUIDHOSTNAMELEN instead of MAXHOSTNAMELEN Members: src/ftp.cc:1.26.2.40->1.26.2.41 Index: squid3/src/ftp.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/ftp.cc,v retrieving revision 1.26.2.40 retrieving revision 1.26.2.41 diff -u -r1.26.2.40 -r1.26.2.41 --- squid3/src/ftp.cc 30 Sep 2007 16:13:30 -0000 1.26.2.40 +++ squid3/src/ftp.cc 6 Oct 2007 20:28:00 -0000 1.26.2.41 @@ -1,5 +1,5 @@ /* - * $Id: ftp.cc,v 1.26.2.40 2007/09/30 16:13:30 serassio Exp $ + * $Id: ftp.cc,v 1.26.2.41 2007/10/06 20:28:00 serassio Exp $ * * DEBUG: section 9 File Transfer Protocol (FTP) * AUTHOR: Harvest Derived @@ -2702,7 +2702,7 @@ ftpState->data.port = details->peer.GetPort(); - details->peer.NtoA(ftpState->data.host,MAXHOSTNAMELEN); + details->peer.NtoA(ftpState->data.host,SQUIDHOSTNAMELEN); commSetTimeout(ftpState->ctrl.fd, -1, NULL, NULL);