]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
gindent
authorwessels <>
Wed, 10 Apr 1996 06:24:00 +0000 (06:24 +0000)
committerwessels <>
Wed, 10 Apr 1996 06:24:00 +0000 (06:24 +0000)
src/ftp.cc

index 8784c7f07d9bf96fc4de225727e2b0c82d19575c..1e4508d9f931c31303bd5e7deb0069daad3d55fc 100644 (file)
@@ -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,