Skip to content

Commit

Permalink
Simple doc typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dmarkham committed Nov 26, 2011
1 parent e59ecac commit 13565bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ ASYNCHRONOUS I/O WITH ZEROMQ
my $socket = zmq_socket( $ctxt, ZMQ_REP );
my $fh = zmq_getsockopt( $socket, ZMQ_FD );
my $w; $w = AE::io $fh, 0, sub {
while ( my $msg = zmq_recv( $socket, ZMQ_RECVMORE ) ) {
while ( my $msg = zmq_recv( $socket, ZMQ_RCVMORE ) ) {
# do something with $msg;
}
undef $w;
Expand Down
2 changes: 1 addition & 1 deletion lib/ZeroMQ.pm
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ descriptor, so use that to integrate ZeroMQ and AnyEvent:
my $socket = zmq_socket( $ctxt, ZMQ_REP );
my $fh = zmq_getsockopt( $socket, ZMQ_FD );
my $w; $w = AE::io $fh, 0, sub {
while ( my $msg = zmq_recv( $socket, ZMQ_RECVMORE ) ) {
while ( my $msg = zmq_recv( $socket, ZMQ_RCVMORE ) ) {
# do something with $msg;
}
undef $w;
Expand Down

0 comments on commit 13565bf

Please sign in to comment.