summaryrefslogtreecommitdiffhomepage
path: root/buffer.c
diff options
context:
space:
mode:
authorThorsten Horstmann <thorsten.horstmann@web.de>2015-02-24 20:45:07 +0800
committerThorsten Horstmann <thorsten.horstmann@web.de>2015-02-24 20:45:07 +0800
commitabeb9d64a398cb38348f95b8d93b888f4e726cd0 (patch)
treec9c208e361b134f34368731dbfb9710edb370999 /buffer.c
parentfdb7ffa864dea8e1c9efe3532db08b1ccad484dc (diff)
Some minor typo fixes, found by codespell.
Diffstat (limited to 'buffer.c')
-rw-r--r--buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/buffer.c b/buffer.c
index 9bda652..01af0dd 100644
--- a/buffer.c
+++ b/buffer.c
@@ -127,7 +127,7 @@ void buf_setpos(buffer* buf, unsigned int pos) {
buf->pos = pos;
}
-/* increment the postion by incr, increasing the buffer length if required */
+/* increment the position by incr, increasing the buffer length if required */
void buf_incrwritepos(buffer* buf, unsigned int incr) {
if (incr > BUF_MAX_INCR || buf->pos + incr > buf->size) {
dropbear_exit("Bad buf_incrwritepos");