diff buffer.c @ 1037:7c899f24a85b

Some minor typo fixes, found by codespell.
author Thorsten Horstmann <thorsten.horstmann@web.de>
date Tue, 24 Feb 2015 20:45:07 +0800
parents 7dcb46da72d9
children a5b785c12340
line wrap: on
line diff
--- a/buffer.c	Tue Feb 24 20:43:01 2015 +0800
+++ b/buffer.c	Tue Feb 24 20:45:07 2015 +0800
@@ -127,7 +127,7 @@
 	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");