replace ? by cond
This commit is contained in:
parent
9692f2e8d3
commit
f3c47fad2e
6
smtp.scm
6
smtp.scm
|
@ -71,9 +71,9 @@
|
||||||
(lambda (to)
|
(lambda (to)
|
||||||
(receive (code text) (smtp/rcpt socket to)
|
(receive (code text) (smtp/rcpt socket to)
|
||||||
(and (>= code 400) ; Error
|
(and (>= code 400) ; Error
|
||||||
(? ((>= 600)
|
(cond ((>= code 600)
|
||||||
(smtp/quit socket)
|
(smtp/quit socket)
|
||||||
(bailout code text))
|
(bailout code text))
|
||||||
(else `(,to ,code ,@text))))))
|
(else `(,to ,code ,@text))))))
|
||||||
to-list)))
|
to-list)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue