]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
formatting
authorwessels <>
Tue, 20 Aug 1996 04:46:26 +0000 (04:46 +0000)
committerwessels <>
Tue, 20 Aug 1996 04:46:26 +0000 (04:46 +0000)
src/disk.cc

index 6dc267b054b8b4e72827e03fa5e4df47021cb2ba..629c2e969a911336e56ef8178b6dad5ec3192369 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: disk.cc,v 1.20 1996/07/18 20:27:00 wessels Exp $
+ * $Id: disk.cc,v 1.21 1996/08/19 22:46:26 wessels Exp $
  *
  * DEBUG: section 6     Disk I/O Routines
  * AUTHOR: Harvest Derived
@@ -426,7 +426,8 @@ int diskHandleRead(fd, ctrl_dat)
     /* go to requested position. */
     lseek(fd, ctrl_dat->offset, SEEK_SET);
     file_table[fd].at_eof = NO;
-    len = read(fd, ctrl_dat->buf + ctrl_dat->cur_len,
+    len = read(fd,
+       ctrl_dat->buf + ctrl_dat->cur_len,
        ctrl_dat->req_len - ctrl_dat->cur_len);
 
     if (len < 0)
@@ -465,9 +466,13 @@ int diskHandleRead(fd, ctrl_dat)
        return DISK_OK;
     } else {
        /* all data we need is here. */
-       /* calll handler */
-       ctrl_dat->handler(fd, ctrl_dat->buf, ctrl_dat->cur_len, DISK_OK,
-           ctrl_dat->client_data, ctrl_dat->offset);
+       /* call handler */
+       ctrl_dat->handler(fd,
+           ctrl_dat->buf,
+           ctrl_dat->cur_len,
+           DISK_OK,
+           ctrl_dat->client_data,
+           ctrl_dat->offset);
        safe_free(ctrl_dat);
        return DISK_OK;
     }