summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-03-24 06:38:03 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-03-24 06:38:03 -0700
commitd952479463a914a386ae2ab4d948bf614021535c (patch)
tree39366b461ab63be1ad6d23f540c58c01016b7751
parentbc7171c3a1341b23b1c175d65048f536461fbd9c (diff)
downloadtamarind-d952479463a914a386ae2ab4d948bf614021535c.tar.gz
tamarind-d952479463a914a386ae2ab4d948bf614021535c.tar.bz2
tamarind-d952479463a914a386ae2ab4d948bf614021535c.zip
We need specify only mode "i" on IMAP socket.
-rw-r--r--auth.txr2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth.txr b/auth.txr
index 86cec41..08e984c 100644
--- a/auth.txr
+++ b/auth.txr
@@ -19,7 +19,7 @@
@ (require (sasl-auth userid password))
@ (elif (eq auth :imap))
@ (try)
-@ (bind s @(let ((sock (open-socket af-inet sock-stream "r+ib")))
+@ (bind s @(let ((sock (open-socket af-inet sock-stream "i")))
(sock-connect sock (new sockaddr-in
addr inaddr-loopback
port 143))