mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
Some minor typo fixes, found by codespell.
This commit is contained in:
2
buffer.c
2
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");
|
||||
|
||||
Reference in New Issue
Block a user