From: wessels <> Date: Wed, 10 Apr 1996 06:24:00 +0000 (+0000) Subject: gindent X-Git-Tag: SQUID_3_0_PRE1~6245 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2291ddab25c16448b56249096f2df435f599032c;p=thirdparty%2Fsquid.git gindent --- diff --git a/src/ftp.cc b/src/ftp.cc index 8784c7f07d..1e4508d9f9 100644 --- a/src/ftp.cc +++ b/src/ftp.cc @@ -1,4 +1,4 @@ -/* $Id: ftp.cc,v 1.27 1996/04/10 00:19:20 wessels Exp $ */ +/* $Id: ftp.cc,v 1.28 1996/04/10 00:24:00 wessels Exp $ */ /* * DEBUG: Section 9 ftp: FTP @@ -39,16 +39,16 @@ static void ftpCloseAndFree(fd, data) if (fd >= 0) comm_close(fd); if (data) { - if (data->reply_hdr) { - put_free_8k_page(data->reply_hdr, __FILE__, __LINE__); - data->reply_hdr = NULL; - } - if (data->icp_page_ptr) { - put_free_8k_page(data->icp_page_ptr, __FILE__, __LINE__); - data->icp_page_ptr = NULL; - } - if (data->icp_rwd_ptr) - safe_free(data->icp_rwd_ptr); + if (data->reply_hdr) { + put_free_8k_page(data->reply_hdr, __FILE__, __LINE__); + data->reply_hdr = NULL; + } + if (data->icp_page_ptr) { + put_free_8k_page(data->icp_page_ptr, __FILE__, __LINE__); + data->icp_page_ptr = NULL; + } + if (data->icp_rwd_ptr) + safe_free(data->icp_rwd_ptr); } xfree(data); } @@ -140,7 +140,7 @@ void ftpLifetimeExpire(fd, data) /* This is too much duplicated code from httpProcessReplyHeader. Only -difference is FtpData vs HttpData. */ + * difference is FtpData vs HttpData. */ static void ftpProcessReplyHeader(data, buf, size) FtpData *data; char *buf; /* chunk just read by ftpReadReply() */ @@ -370,8 +370,8 @@ int ftpReadReply(fd, data) } } storeAppend(entry, buf, len); - if (data->reply_hdr_state < 2 && len > 0) - ftpProcessReplyHeader(data, buf, len); + if (data->reply_hdr_state < 2 && len > 0) + ftpProcessReplyHeader(data, buf, len); comm_set_select_handler(fd, COMM_SELECT_READ, (PF) ftpReadReply,