replace ? by cond
This commit is contained in:
parent
9692f2e8d3
commit
f3c47fad2e
2
smtp.scm
2
smtp.scm
|
@ -71,7 +71,7 @@
|
||||||
(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))))))
|
||||||
|
|
Loading…
Reference in New Issue