~mdw
/
with-authinfo-kludge
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9b7b093
)
with-authinfo-kludge (accept_loop): Might as well use the loop name.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 24 Apr 2016 22:30:30 +0000
(23:30 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Tue, 26 Apr 2016 19:32:25 +0000
(20:32 +0100)
with-authinfo-kludge
patch
|
blob
|
blame
|
history
diff --git
a/with-authinfo-kludge
b/with-authinfo-kludge
index
2ba8969
..
950ea3b
100755
(executable)
--- a/
with-authinfo-kludge
+++ b/
with-authinfo-kludge
@@
-772,7
+772,7
@@
sub accept_loop () {
elsif ($! == EINTR) { next SELECT; }
else { sysfail "select failed: $!"; }
FD: for my $fd (keys %SERVMAP) {
elsif ($! == EINTR) { next SELECT; }
else { sysfail "select failed: $!"; }
FD: for my $fd (keys %SERVMAP) {
- next unless vec $rfd_out, $fd, 1;
+ next
FD
unless vec $rfd_out, $fd, 1;
my ($s, $a, $sk) = @{$SERVMAP{$fd}};
my $nsk;
unless (accept $nsk, $sk) {
my ($s, $a, $sk) = @{$SERVMAP{$fd}};
my $nsk;
unless (accept $nsk, $sk) {