Skip to content

Commit

Permalink
FIX: using split-lines native (until split will not be native as …
Browse files Browse the repository at this point in the history
…well)
  • Loading branch information
Oldes committed Jul 12, 2022
1 parent 9dccbaf commit 17b4855
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mezz/prot-smtp.reb
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ sync-smtp-handler: function [event][
parse response [copy code: 3 digit to end (code: to integer! code)]

if system/options/log/smtp > 1 [
foreach line split trim/tail response CRLF [
foreach line split-lines trim/tail response [
sys/log/more 'SMTP ["Server:^[[32m" line]
]
]
Expand Down
2 changes: 1 addition & 1 deletion src/mezz/sys-base.reb
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ log: func [
][
if error [
msg: form either block? msg [reduce msg][msg]
foreach line split msg #"^/" [
foreach line split-lines msg [
print ajoin [
" ^[[35m[" id "] ^[[1m"
either line/1 = #"*" []["** Error: "]
Expand Down

0 comments on commit 17b4855

Please sign in to comment.