changeset 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 deed0571cacc
children d3925ed45a85
files Makefile.in buffer.c channel.h scp.c svr-agentfwd.c
diffstat 5 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Tue Feb 24 20:43:01 2015 +0800
+++ b/Makefile.in	Tue Feb 24 20:45:07 2015 +0800
@@ -140,7 +140,7 @@
 	$(INSTALL) -d $(DESTDIR)$(mandir)/man1
 	if test -e $*.1; then $(INSTALL) -m 644 $*.1 $(DESTDIR)$(mandir)/man1/$*.1; fi
 
-# dropbear should go in sbin, so it needs a seperate rule
+# dropbear should go in sbin, so it needs a separate rule
 inst_dropbear: dropbear
 	$(INSTALL) -d $(DESTDIR)$(sbindir)
 	$(INSTALL) dropbear$(EXEEXT) $(DESTDIR)$(sbindir)
--- 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");
--- a/channel.h	Tue Feb 24 20:43:01 2015 +0800
+++ b/channel.h	Tue Feb 24 20:45:07 2015 +0800
@@ -92,7 +92,7 @@
 
 struct ChanType {
 
-	int sepfds; /* Whether this channel has seperate pipes for in/out or not */
+	int sepfds; /* Whether this channel has separate pipes for in/out or not */
 	char *name;
 	int (*inithandler)(struct Channel*);
 	int (*check_close)(struct Channel*);
--- a/scp.c	Tue Feb 24 20:43:01 2015 +0800
+++ b/scp.c	Tue Feb 24 20:45:07 2015 +0800
@@ -437,7 +437,7 @@
 	}
 	/*
 	 * Finally check the exit status of the ssh process, if one was forked
-	 * and no error has occured yet
+	 * and no error has occurred yet
 	 */
 	if (do_cmd_pid != -1 && errs == 0) {
 		if (remin != -1)
--- a/svr-agentfwd.c	Tue Feb 24 20:43:01 2015 +0800
+++ b/svr-agentfwd.c	Tue Feb 24 20:45:07 2015 +0800
@@ -117,7 +117,7 @@
 }
 
 /* set up the environment variable pointing to the socket. This is called
- * just before command/shell execution, after dropping priveleges */
+ * just before command/shell execution, after dropping privileges */
 void svr_agentset(struct ChanSess * chansess) {
 
 	char *path = NULL;