From: wessels <> Date: Sat, 6 Dec 1997 08:26:02 +0000 (+0000) Subject: compler X-Git-Tag: SQUID_3_0_PRE1~4383 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=70dcc6ecf3ca50496f04a0da91b828ea63bbeb16;p=thirdparty%2Fsquid.git compler --- diff --git a/src/ftp.cc b/src/ftp.cc index 304439b372..596cd8000d 100644 --- a/src/ftp.cc +++ b/src/ftp.cc @@ -1,6 +1,6 @@ /* - * $Id: ftp.cc,v 1.178 1997/12/05 07:42:57 wessels Exp $ + * $Id: ftp.cc,v 1.179 1997/12/06 01:26:02 wessels Exp $ * * DEBUG: section 9 File Transfer Protocol (FTP) * AUTHOR: Harvest Derived @@ -830,7 +830,7 @@ ftpCheckUrlpath(FtpStateData * ftpState) if ((t = strrchr(request->urlpath, ';')) != NULL) { if (strncasecmp(t + 1, "type=", 5) == 0) { ftpState->typecode = (char) toupper((int) *(t + 6)); - *t = NULL; + *t = '\0'; } } }