Skip to content

Commit

Permalink
FIXED: Possible non-determinism in write_html/2 on a mailbox that has…
Browse files Browse the repository at this point in the history
… not

been posted to.
  • Loading branch information
JanWielemaker committed Feb 25, 2023
1 parent 17a093f commit e62c9a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion html_write.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,8 @@
write_html(T2, Out).
write_html([mailbox(_, Box)|T], Out) :-
!,
( Box = accept(_, Accepted)
( Box = accept(_, Accepted),
nonvar(Accepted)
-> write_html(Accepted, Out)
; true
),
Expand Down

0 comments on commit e62c9a0

Please sign in to comment.