]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
- spellchecking and typos
authorrousskov <>
Wed, 3 Jun 1998 21:52:15 +0000 (21:52 +0000)
committerrousskov <>
Wed, 3 Jun 1998 21:52:15 +0000 (21:52 +0000)
src/HttpHeader.cc
src/HttpStatusLine.cc
src/MemBuf.cc
src/Packer.cc
src/disk.cc

index 17ef890c784630065040a2c98a42fc4b187a87ec..6d566f3391b4eb6b4b4748021948d569bc34804d 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: HttpHeader.cc,v 1.41 1998/06/02 22:15:18 rousskov Exp $
+ * $Id: HttpHeader.cc,v 1.42 1998/06/03 15:52:15 rousskov Exp $
  *
  * DEBUG: section 55    HTTP Header
  * AUTHOR: Alex Rousskov
@@ -607,7 +607,7 @@ void
 httpHeaderPutInt(HttpHeader * hdr, http_hdr_type id, int number)
 {
     assert_eid(id);
-    assert(Headers[id].type == ftInt); /* must be of an appropriatre type */
+    assert(Headers[id].type == ftInt); /* must be of an appropriate type */
     assert(number >= 0);
     httpHeaderAddEntry(hdr, httpHeaderEntryCreate(id, NULL, xitoa(number)));
 }
@@ -616,7 +616,7 @@ void
 httpHeaderPutTime(HttpHeader * hdr, http_hdr_type id, time_t time)
 {
     assert_eid(id);
-    assert(Headers[id].type == ftDate_1123);   /* must be of an appropriatre type */
+    assert(Headers[id].type == ftDate_1123);   /* must be of an appropriate type */
     assert(time >= 0);
     httpHeaderAddEntry(hdr, httpHeaderEntryCreate(id, NULL, mkrfc1123(time)));
 }
@@ -625,7 +625,7 @@ void
 httpHeaderPutStr(HttpHeader * hdr, http_hdr_type id, const char *str)
 {
     assert_eid(id);
-    assert(Headers[id].type == ftStr); /* must be of an appropriatre type */
+    assert(Headers[id].type == ftStr); /* must be of an appropriate type */
     assert(str);
     httpHeaderAddEntry(hdr, httpHeaderEntryCreate(id, NULL, str));
 }
index ca2c38be83d03a83b2c834307fbc5828c7d709ce..c63677dbd1af24b9ea611c0d68daacdded6c0bcd 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: HttpStatusLine.cc,v 1.11 1998/05/22 23:43:56 wessels Exp $
+ * $Id: HttpStatusLine.cc,v 1.12 1998/06/03 15:52:16 rousskov Exp $
  *
  * DEBUG: section 57    HTTP Status-line
  * AUTHOR: Alex Rousskov
@@ -63,7 +63,7 @@ httpStatusLineSet(HttpStatusLine * sline, double version, http_status status, co
     sline->reason = reason;
 }
 
-/* parse a 0-terminating buffer and fill internal structires; returns true on success */
+/* parse a 0-terminating buffer and fill internal structures; returns true on success */
 void
 httpStatusLinePackInto(const HttpStatusLine * sline, Packer * p)
 {
index 9dd299d7275d8f70939c7e536723d68e023c85a0..c63690c4522210336a571be72c59662fc4f743bd 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: MemBuf.cc,v 1.13 1998/06/02 04:18:14 wessels Exp $
+ * $Id: MemBuf.cc,v 1.14 1998/06/03 15:52:16 rousskov Exp $
  *
  * DEBUG: section 59    auto-growing Memory Buffer with printf
  * AUTHOR: Alex Rousskov
  * 
  * The whole "packing" idea is quite messy: We are given a buffer of fixed
  * size and we have to check all the time that we still fit. Sounds logical.
- * However, what happens if we have more data? If we are lucky to be careful
- * to stop before we overrun any buffers, we still may have garbage (e.g.
- * half of ETag) in the buffer.
+ *
+ * However, what happens if we have more data? If we are lucky to stop before
+ * we overrun any buffers, we still may have garbage (e.g. half of ETag) in
+ * the buffer.
  * 
  * MemBuffer:
  * ----------
index 1215129fbca42234f7f6cefcdd6b4cde359b9fc8..72a566184e67c6d181254c2ca654e7d871b75918 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: Packer.cc,v 1.6 1998/03/03 22:17:52 rousskov Exp $
+ * $Id: Packer.cc,v 1.7 1998/06/03 15:52:17 rousskov Exp $
  *
  * DEBUG: section 60    Packer: A uniform interface to store-like modules
  * AUTHOR: Alex Rousskov
@@ -57,7 +57,7 @@
  * comm_write or "append" things to store, depending on actual packer
  * supplied.
  * 
- * It is amasing how much work a tiny object can save. :)
+ * It is amazing how much work a tiny object can save. :)
  * 
  */
 
index c4010481e5e5658281336a96888f4ce0e8cd5720..8625c0e64ddf5d78967ff7fb433d43b974d01c89 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: disk.cc,v 1.117 1998/05/30 19:43:06 rousskov Exp $
+ * $Id: disk.cc,v 1.118 1998/06/03 15:52:18 rousskov Exp $
  *
  * DEBUG: section 6     Disk I/O Routines
  * AUTHOR: Harvest Derived
@@ -240,7 +240,7 @@ diskHandleWrite(int fd, void *notused)
        return;
     debug(6, 3) ("diskHandleWrite: FD %d\n", fd);
     /* We need to combine subsequent write requests after the first */
-    /* But only if we don't need to seek() in betwen them, ugh! */
+    /* But only if we don't need to seek() in between them, ugh! */
     /* XXX This currently ignores any seeks (file_offset) */
     if (fdd->write_q->next != NULL && fdd->write_q->next->next != NULL) {
        len = 0;