summaryrefslogtreecommitdiffstats
path: root/lib/evendoors/twirl.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-08 16:41:28 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-08 16:41:28 +0200
commit23c3790d2397f343071c7481a91533a7b846a39f (patch)
treee1a6f7592a77aea280ad21b576aaa6aa07c00803 /lib/evendoors/twirl.rb
parenteafe8dd42c8e71d0ece51d4e14600e481029a239 (diff)
downloadedoors-ruby-23c3790d2397f343071c7481a91533a7b846a39f.zip
edoors-ruby-23c3790d2397f343071c7481a91533a7b846a39f.tar.gz
Room, Twirl
p.door->p.dst, p.dst_done!->p.dst_routed!, use p.door instead of p.split_dst! return value
Diffstat (limited to 'lib/evendoors/twirl.rb')
-rw-r--r--lib/evendoors/twirl.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/evendoors/twirl.rb b/lib/evendoors/twirl.rb
index 9f38bf6..b3eca89 100644
--- a/lib/evendoors/twirl.rb
+++ b/lib/evendoors/twirl.rb
@@ -46,11 +46,11 @@ module EvenDoors
while @run and (@sys_fifo.length>0 or @app_fifo.length>0)
while @run and @sys_fifo.length>0
p = @sys_fifo.shift
- p.door.process_sys_p p
+ p.dst.process_sys_p p
end
while @run and @app_fifo.length>0
p = @app_fifo.shift
- p.door.process_p p
+ p.dst.process_p p
break
end
end