From b1ae269e555cb3997ebac0ceae936f563e3c67c1 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sun, 23 Feb 2003 23:24:29 +0000 Subject: 18278: remove zgprintf, zformat already does this --- Functions/TCP/tcp_spam | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Functions/TCP/tcp_spam') 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 -- cgit v1.2.3