about summary refs log tree commit diff
path: root/Functions/TCP
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2005-12-09 19:04:26 +0000
committerClint Adams <clint@users.sourceforge.net>2005-12-09 19:04:26 +0000
commitb9262b0cbbb6887907133eca671e22d83fd3d808 (patch)
treec1f277a376aa70fbdb27cf27a32c2847caed1fec /Functions/TCP
parent405fd076567c439e6adc10b715ca72e652776757 (diff)
downloadzsh-b9262b0cbbb6887907133eca671e22d83fd3d808.tar.gz
zsh-b9262b0cbbb6887907133eca671e22d83fd3d808.tar.xz
zsh-b9262b0cbbb6887907133eca671e22d83fd3d808.zip
22065: starts with "--".
Diffstat (limited to 'Functions/TCP')
-rw-r--r--Functions/TCP/tcp_read2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/TCP/tcp_read b/Functions/TCP/tcp_read
index aa30b723d..7d8acf865 100644
--- a/Functions/TCP/tcp_read
+++ b/Functions/TCP/tcp_read
@@ -216,7 +216,7 @@ while (( ${#read_fds} )); do
     fi
 
     tcp_output -P "${TCP_PROMPT=<-[%s] }" -S $sess -F $read_fd \
-        $noprint "$line"
+        $noprint -- "$line"
     # REPLY is now set to the line with an appropriate prompt.
     tcp_lines+=($REPLY)
     typeset -g TCP_LINE="$REPLY" TCP_LINE_FD="$read_fd"