X-Git-Url: https://git.distorted.org.uk/~mdw/with-authinfo-kludge/blobdiff_plain/26f5de45d3fd512feec9a95181dbf6c0bced004e..d168ccd6481360eb28caf88036261824a5dba992:/with-authinfo-kludge diff --git a/with-authinfo-kludge b/with-authinfo-kludge index 2212cbf..3cdefe3 100755 --- a/with-authinfo-kludge +++ b/with-authinfo-kludge @@ -21,7 +21,7 @@ ### along with this program; if not, write to the Free Software Foundation, ### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -my $VERSION = "0.1.0~unfinished"; +my $VERSION = "0.1.0"; use strict; @@ -728,7 +728,7 @@ sub wait_for_ssh () { my ($n, $t) = select my $rfd_out = $rfd_in, undef, undef, undef; if ($n >= 0) { } elsif ($! == EINTR) { next SELECT; } - else { sysfail "select failed: $!"; } + else { sysfail "select failed: $!"; } FD: for my $fd (keys %fd) { next FD unless vec $rfd_out, $fd, 1; my ($sk, $s) = @{$fd{$fd}}; @@ -799,7 +799,7 @@ sub accept_loop () { my ($n, $t) = select my $rfd_out = $rfd_in, undef, undef, undef; if ($n >= 0) { } elsif ($! == EINTR) { next SELECT; } - else { sysfail "select failed: $!"; } + else { sysfail "select failed: $!"; } FD: for my $fd (keys %SERVMAP) { next FD unless vec $rfd_out, $fd, 1; my ($s, $a, $sk) = @{$SERVMAP{$fd}};