Don't point STDOUT to SOCK

This commit is contained in:
Jamie Cameron
2008-04-21 21:48:28 +00:00
parent 629b68a1dc
commit b8d69eff1a

View File

@@ -54,7 +54,9 @@ untie(*STDOUT);
# Accept the TCP connection
$acptaddr = accept(SOCK, MAIN);
die "accept failed!" if (!$acptaddr);
select(SOCK); $| = 1;
$oldsel = select(SOCK);
$| = 1;
select($oldsel);
$rcount = 0;
while(1) {