about summary refs log tree commit diff
path: root/Functions/TCP/tcp_output
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2003-02-23 23:24:29 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2003-02-23 23:24:29 +0000
commitb1ae269e555cb3997ebac0ceae936f563e3c67c1 (patch)
treed5b1334521eef1f69dcd68773c6c8a3f0f844d1e /Functions/TCP/tcp_output
parentfcc7489b7e8c2e572e94b1161ff37a6c0694d864 (diff)
downloadzsh-b1ae269e555cb3997ebac0ceae936f563e3c67c1.tar.gz
zsh-b1ae269e555cb3997ebac0ceae936f563e3c67c1.tar.xz
zsh-b1ae269e555cb3997ebac0ceae936f563e3c67c1.zip
18278: remove zgprintf, zformat already does this
Diffstat (limited to 'Functions/TCP/tcp_output')
-rw-r--r--Functions/TCP/tcp_output2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/TCP/tcp_output b/Functions/TCP/tcp_output
index b22b79412..69177bae0 100644
--- a/Functions/TCP/tcp_output
+++ b/Functions/TCP/tcp_output
@@ -29,7 +29,7 @@ fi
 # where data is coming from; also, it allows more predictable
 # behaviour in tcp_expect.
 if [[ -n $tprompt ]]; then
-  zgprintf -R -%s=$sess -%f=$read_fd -- $tprompt
+  zformat -f REPLY $tprompt "s:$sess" "f:$read_fd"
   # We will pass this back up.
   REPLY="$REPLY$*"
 else