Permalink
Browse files

Merge branch 'master' of https://github.com/oruen/zguide into oruen-m…

…aster
  • Loading branch information...
2 parents f0cb91d + 01af549 commit ac81790592b14dbdd616c17e334d7fa4779a448d @hintjens hintjens committed Feb 27, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 examples/Ruby/mspoller.rb
@@ -26,12 +26,12 @@
while true
poller.poll(:blocking)
poller.readables.each do |socket|
- if socket === frontend
+ if socket === reciever
message = socket.recv_string
# process task
- elsif socket === backend
+ elsif socket === subscriber
message = socket.recv_string
# process weather update
end
end
-end
+end

0 comments on commit ac81790

Please sign in to comment.