From ury.marshak at gmail.com Sun Dec 26 17:48:14 2010 From: ury.marshak at gmail.com (Ury Marshak) Date: Sun, 26 Dec 2010 19:48:14 +0200 Subject: [cl-smtp-devel] reading server response - small fix Message-ID: Hello, I've found another small issue: in READ-FROM-SMTP the last line should read ...(append lines (list response)) otherwise the lines are lost on multiline replies Here's the diff for this fix together with the previous one (with encodings) ? .clbuild-skip-update ? ~cl-smtp.diff Index: cl-smtp.lisp =================================================================== RCS file: /project/cl-smtp/cvsroot/cl-smtp/cl-smtp.lisp,v retrieving revision 1.20 diff -r1.20 cl-smtp.lisp 289,301c289,300 < (setf stream < #+allegro (socket:make-ssl-client-stream stream) < #-allegro < (let ((s (flexi-streams:flexi-stream-stream stream))) < (cl+ssl:make-ssl-client-stream < (cl+ssl:stream-fd s) < :close-callback (lambda () (close s))))) < #-allegro < (setf stream (flexi-streams:make-flexi-stream < stream < :external-format < (flexi-streams:make-external-format < :latin-1 :eol-style :lf))))) --- > (let ((external-format (flexi-streams:flexi-stream-external-format stream))) > (setf stream > #+allegro (socket:make-ssl-client-stream stream) > #-allegro > (let ((s (flexi-streams:flexi-stream-stream stream))) > (cl+ssl:make-ssl-client-stream > (cl+ssl:stream-fd s) > :close-callback (lambda () (close s))))) > #-allegro > (setf stream (flexi-streams:make-flexi-stream > stream > :external-format external-format))))) 490c489 < (values response-code response lines)))) --- > (values response-code response (append lines (list response)))))) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: cl-smtp.diff Type: application/octet-stream Size: 1669 bytes Desc: not available URL: