summaryrefslogtreecommitdiff
path: root/Functions
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-01-15 14:49:50 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-01-15 14:49:50 +0000
commit45bee14fec248d79a345ef970ad4933540d50dac (patch)
tree75fcdc9b1e9a2516c2e5aff534f64409e1719bf1 /Functions
parent3af9307d1428a20718e8a0ace3242c5d2dd0a43b (diff)
downloadzsh-45bee14fec248d79a345ef970ad4933540d50dac.tar.gz
zsh-45bee14fec248d79a345ef970ad4933540d50dac.zip
26313: --enable-custom-patchlevel
unposted: WARN_CREATE_GLOBAL in tcp_log
Diffstat (limited to 'Functions')
-rw-r--r--Functions/TCP/tcp_log4
1 files changed, 2 insertions, 2 deletions
diff --git a/Functions/TCP/tcp_log b/Functions/TCP/tcp_log
index e8ebaca23..04f3735fe 100644
--- a/Functions/TCP/tcp_log
+++ b/Functions/TCP/tcp_log
@@ -76,7 +76,7 @@ if (( $# != 1 )); then
fi
if [[ -n $sess ]]; then
- TCP_LOG_SESS=$1
+ typeset -g TCP_LOG_SESS=$1
if [[ -z $append ]]; then
local sesslogs
integer i
@@ -87,7 +87,7 @@ if [[ -n $sess ]]; then
done
fi
else
- TCP_LOG=$1
+ typeset -g TCP_LOG=$1
[[ -z $append ]] && : >$TCP_LOG
fi