We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
split-lines
split
1 parent 9dccbaf commit 17b4855Copy full SHA for 17b4855
src/mezz/prot-smtp.reb
@@ -154,7 +154,7 @@ sync-smtp-handler: function [event][
154
parse response [copy code: 3 digit to end (code: to integer! code)]
155
156
if system/options/log/smtp > 1 [
157
- foreach line split trim/tail response CRLF [
+ foreach line split-lines trim/tail response [
158
sys/log/more 'SMTP ["Server:^[[32m" line]
159
]
160
src/mezz/sys-base.reb
@@ -237,7 +237,7 @@ log: func [
237
][
238
if error [
239
msg: form either block? msg [reduce msg][msg]
240
- foreach line split msg #"^/" [
+ foreach line split-lines msg [
241
print ajoin [
242
" ^[[35m[" id "] ^[[1m"
243
either line/1 = #"*" []["** Error: "]
0 commit comments