Skip to content

Commit

Permalink
Fixed uroboros (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathias Svensson committed Sep 18, 2014
1 parent e37b606 commit cb9d535
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/listen_uroboros.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

from pwn import *

cs = [listen(1337) for _ in range(3)]
cs = [listen(1337).wait_for_connection() for _ in range(3)]

cs[0] << cs[1] << cs[2] << cs[0]

cs[0].wait()
cs[1].wait()
cs[2].wait()
cs[0].wait_for_close()
cs[1].wait_for_close()
cs[2].wait_for_close()

0 comments on commit cb9d535

Please sign in to comment.