From: wessels <> Date: Tue, 18 Nov 1997 08:02:37 +0000 (+0000) Subject: Replaced gross EBIT_SET(..., DELAY_SENDING) and EBIT_CLR(..., DELAY_SENDING) X-Git-Tag: SQUID_3_0_PRE1~4518 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=438fc1e324c5758438a7b52bbe5487aa60a37ded;p=thirdparty%2Fsquid.git Replaced gross EBIT_SET(..., DELAY_SENDING) and EBIT_CLR(..., DELAY_SENDING) with storeBuffer() and storeBufferFlush(). --- diff --git a/src/ftp.cc b/src/ftp.cc index 1cfeb4edbc..6ff24389d2 100644 --- a/src/ftp.cc +++ b/src/ftp.cc @@ -1,5 +1,5 @@ /* - * $Id: ftp.cc,v 1.170 1997/11/18 00:48:23 wessels Exp $ + * $Id: ftp.cc,v 1.171 1997/11/18 01:02:37 wessels Exp $ * * DEBUG: section 9 File Transfer Protocol (FTP) * AUTHOR: Harvest Derived @@ -258,6 +258,7 @@ ftpListingStart(FtpStateData * ftpState) { StoreEntry *e = ftpState->entry; wordlist *w; + storeBuffer(e); storeAppendPrintf(e, "\n", version_string); storeAppendPrintf(e, "\n", mkrfc1123(squid_curtime)); @@ -281,6 +282,7 @@ ftpListingStart(FtpStateData * ftpState) storeAppendPrintf(e, "FTP Directory: %s\n", ftpState->title_url); storeAppendPrintf(e, "\n"); storeAppendPrintf(e, "
\n"); + storeBufferFlush(e); EBIT_SET(ftpState->flags, FTP_HTML_HEADER_SENT); } @@ -288,6 +290,7 @@ static void ftpListingFinish(FtpStateData * ftpState) { StoreEntry *e = ftpState->entry; + storeBuffer(e); storeAppendPrintf(e, "\n"); storeAppendPrintf(e, "