about summary refs log tree commit diff
path: root/Functions/TCP/tcp_spam
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_spam
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_spam')
-rw-r--r--Functions/TCP/tcp_spam4
1 files changed, 2 insertions, 2 deletions
diff --git a/Functions/TCP/tcp_spam b/Functions/TCP/tcp_spam
index f5c612bee..b516ebaa2 100644
--- a/Functions/TCP/tcp_spam
+++ b/Functions/TCP/tcp_spam
@@ -91,7 +91,7 @@ for TCP_SESS in $sessions; do
     tcp_on_spam $TCP_SESS $cmd $*
     [[ $REPLY = done ]] && continue
   fi
-  [[ -n $verbose ]] && zgprintf -R -%s=$TCP_SESS \
-    -%f=${tcp_by_name[$TCP_SESS]} -- $TCP_PROMPT
+  [[ -n $verbose ]] && zformat REPLY $TCP_PROMPT "s:$TCP_SESS" \
+    "f:${tcp_by_name[$TCP_SESS]}"
   eval $cmd '$*'
 done