From 70dcc6ecf3ca50496f04a0da91b828ea63bbeb16 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Sat, 6 Dec 1997 08:26:02 +0000 Subject: [PATCH] compler --- src/ftp.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'; } } } -- 2.47.3