about summary refs log tree commit diff
path: root/Functions/TCP
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2003-04-25 11:18:50 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2003-04-25 11:18:50 +0000
commita5f7097d9ab59d1fd9d21b1b22ac87c3e0877ffe (patch)
treeabf9f9bdf206887f87412f272066e0689f481c30 /Functions/TCP
parent83932ba23f06a467f33b4138484f7b0423660182 (diff)
downloadzsh-a5f7097d9ab59d1fd9d21b1b22ac87c3e0877ffe.tar.gz
zsh-a5f7097d9ab59d1fd9d21b1b22ac87c3e0877ffe.tar.xz
zsh-a5f7097d9ab59d1fd9d21b1b22ac87c3e0877ffe.zip
18472: spelling corrections
Diffstat (limited to 'Functions/TCP')
-rw-r--r--Functions/TCP/tcp_alias2
-rw-r--r--Functions/TCP/tcp_close2
-rw-r--r--Functions/TCP/tcp_read2
3 files changed, 3 insertions, 3 deletions
diff --git a/Functions/TCP/tcp_alias b/Functions/TCP/tcp_alias
index 9d6a28da0..59fe67814 100644
--- a/Functions/TCP/tcp_alias
+++ b/Functions/TCP/tcp_alias
@@ -85,7 +85,7 @@ for arg in $*; do
 	index=${array[(i)$alias]}
 	array=(${array[1,index-1]} ${array[index+1,-1]})
 	if [[ -z "$array" ]]; then
-	  unset "tcp_aliase[$fd]"
+	  unset "tcp_aliases[$fd]"
 	else
 	  tcp_aliases[$fd]="$array"
 	fi
diff --git a/Functions/TCP/tcp_close b/Functions/TCP/tcp_close
index 61508f4c6..9c876786c 100644
--- a/Functions/TCP/tcp_close
+++ b/Functions/TCP/tcp_close
@@ -4,7 +4,7 @@
 # -n means don't close a fake session's fd.
 # -q means quiet.
 #
-# Accepts the -s and -l arguments for consistenty with other functions,
+# Accepts the -s and -l arguments for consistency with other functions,
 # but there is no particular gain in using them
 emulate -L zsh
 setopt extendedglob cbases
diff --git a/Functions/TCP/tcp_read b/Functions/TCP/tcp_read
index 97da8bf21..d9aa47e0e 100644
--- a/Functions/TCP/tcp_read
+++ b/Functions/TCP/tcp_read
@@ -87,7 +87,7 @@ while getopts "abdl:qs:t:T:u:" opt; do
 	done
 	;;
 
-    # Don't print an error mesage if there is no TCP connection,
+    # Don't print an error message if there is no TCP connection,
     # just return 1.
     (q) quiet=1
 	;;