Some minor typo fixes, found by codespell.

This commit is contained in:
Thorsten Horstmann
2015-02-24 20:45:07 +08:00
parent fdb7ffa864
commit abeb9d64a3
5 changed files with 5 additions and 5 deletions

View File

@@ -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");