summaryrefslogtreecommitdiffstats
path: root/auth.txr
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-11-11 16:25:47 -0800
committerKaz Kylheku <kaz@kylheku.com>2016-11-11 16:25:47 -0800
commit77e77999ed725a6f9c9ac09df0a94833d7b11c34 (patch)
tree8c3aec8f5bbbf56b1ae61dda6285eff9acfa9484 /auth.txr
parent9ce49a16dc80c8a443bcea77acdb9121dd64b175 (diff)
downloadtamarind-77e77999ed725a6f9c9ac09df0a94833d7b11c34.tar.gz
tamarind-77e77999ed725a6f9c9ac09df0a94833d7b11c34.tar.bz2
tamarind-77e77999ed725a6f9c9ac09df0a94833d7b11c34.zip
Add some local directive to pattern functions so vars are private.
Diffstat (limited to 'auth.txr')
-rw-r--r--auth.txr1
1 files changed, 1 insertions, 0 deletions
diff --git a/auth.txr b/auth.txr
index 08e984c..3820f6a 100644
--- a/auth.txr
+++ b/auth.txr
@@ -15,6 +15,7 @@
(let ((response (get-string sock)))
(equal [response 2..4] "OK")))))
@(define auth (userid password))
+@ (local s)
@ (if (eq auth :sasl))
@ (require (sasl-auth userid password))
@ (elif (eq auth :imap))