summary refs log tree commit diff
path: root/Functions/TCP/tcp_spam
diff options
context:
space:
mode:
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 bafe269b9..8b84cd0d2 100644
--- a/Functions/TCP/tcp_spam
+++ b/Functions/TCP/tcp_spam
@@ -95,7 +95,7 @@ for TCP_SESS in $sessions; do
     tcp_on_spam $TCP_SESS $cmd $*
     [[ $REPLY = done ]] && continue
   fi
-  [[ -n $verbose ]] && zformat REPLY $TCP_PROMPT "s:$TCP_SESS" \
-    "f:${tcp_by_name[$TCP_SESS]}"
+  [[ -n $verbose ]] && zformat -f REPLY $TCP_PROMPT "s:$TCP_SESS" \
+    "f:${tcp_by_name[$TCP_SESS]}" && print -r $REPLY
   eval $cmd '$*'
 done