summaryrefslogtreecommitdiff
path: root/src/or/buffers.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-12-01 03:48:14 +0000
committerNick Mathewson <nickm@torproject.org>2004-12-01 03:48:14 +0000
commitb457cfb5ebab5786beed8168b5b0ef1fc5b2797f (patch)
tree5d27ff71d1a130f4dd00efdc27f0b6ed8237ef10 /src/or/buffers.c
parent6e88abf418684ccaf4a1d7146b0129857a3864fe (diff)
downloadtor-b457cfb5ebab5786beed8168b5b0ef1fc5b2797f.tar.gz
tor-b457cfb5ebab5786beed8168b5b0ef1fc5b2797f.zip
Spell-check strings and comments
svn:r3052
Diffstat (limited to 'src/or/buffers.c')
-rw-r--r--src/or/buffers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c
index 3bdd7982ed..db4d4c173b 100644
--- a/src/or/buffers.c
+++ b/src/or/buffers.c
@@ -70,7 +70,7 @@ static INLINE int buf_ensure_capacity(buf_t *buf, size_t capacity)
static INLINE void buf_shrink_if_underfull(buf_t *buf) {
size_t new_len;
/* If the buffer is at least .25 full, or if shrinking the buffer would
- * put it onder MIN_BUF_SHRINK_SIZE, don't do it. */
+ * put it under MIN_BUF_SHRINK_SIZE, don't do it. */
if (buf->datalen >= buf->len/4 || buf->len < 2*MIN_BUF_SHRINK_SIZE)
return;
/* Shrink new_len by powers of 2 until: datalen is at least 1/4 of