commit 7b055bc6ff73a0e4532f62effaa48dedafc941e3
parent 80a9bc611dff7423c6f81ff40c72e33f3d9a1cd8
Author: Kyle Milz <kyle@0x30.net>
Date: Fri, 26 Feb 2016 21:46:46 -0700
apnd: stop printing loop counts
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/apnd/APND.pm b/apnd/APND.pm
@@ -47,18 +47,14 @@ sub new {
my $socket_path = "apnd_test.socket";
my $socket = undef;
- my $i = 0;
while (! $socket) {
$socket = IO::Socket::UNIX->new(
Type => SOCK_STREAM(),
Peer => $socket_path
);
- $i++;
}
die "$socket_path: connect failed: $!\n" unless ($socket);
- print STDERR "looped $i times\n";
-
$self->{socket} = $socket;
return $self;
}