Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix conditional comp mess-up; FROGGS++.
  • Loading branch information
jnthn committed Feb 16, 2014
1 parent 385ae4e commit 230a54b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/IO/Socket.pm
Expand Up @@ -93,6 +93,7 @@ my role IO::Socket does IO {
} while nqp::chars($res) < $bufsize && nqp::chars($read);
nqp::encode(nqp::unbox_s($res), 'binary', buf8.new);
#?endif
#?if !parrot
my $res = buf8.new();
my $buf;
repeat {
Expand All @@ -101,6 +102,7 @@ my role IO::Socket does IO {
$res ~= $buf;
} while $res.elems < $bufsize && $buf.elems;
$res;
#?endif
}

method poll(Int $bitmask, $seconds) {
Expand Down

0 comments on commit 230a54b

Please sign in to comment.