Avoid double-wrapping arrival flow description

This commit is contained in:
Tony Garnock-Jones 2012-03-10 23:24:28 -05:00
parent beddc9d099
commit 830c598aa4
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@
(define (insert-flow! b1 topic1 flow topic2 b2)
(define old-routes (hash-ref (binding-flows b1) flow set))
(when (set-empty? old-routes)
(enqueue-message! b1 (arrived (topic (topic-role topic2) flow))))
(enqueue-message! b1 (arrived flow)))
(set-binding-flows! b1 (hash-set (binding-flows b1) flow
(set-add old-routes (route topic1 topic2 b2)))))