Skip to content

Commit 17b4855

Browse files
committed
FIX: using split-lines native (until split will not be native as well)
1 parent 9dccbaf commit 17b4855

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/mezz/prot-smtp.reb

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ sync-smtp-handler: function [event][
154154
parse response [copy code: 3 digit to end (code: to integer! code)]
155155

156156
if system/options/log/smtp > 1 [
157-
foreach line split trim/tail response CRLF [
157+
foreach line split-lines trim/tail response [
158158
sys/log/more 'SMTP ["Server:^[[32m" line]
159159
]
160160
]

src/mezz/sys-base.reb

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ log: func [
237237
][
238238
if error [
239239
msg: form either block? msg [reduce msg][msg]
240-
foreach line split msg #"^/" [
240+
foreach line split-lines msg [
241241
print ajoin [
242242
" ^[[35m[" id "] ^[[1m"
243243
either line/1 = #"*" []["** Error: "]

0 commit comments

Comments
 (0)