see plug-ins/perl/Changes
This commit is contained in:
@ -197,8 +197,8 @@ sub try_connect {
|
|||||||
return start_server($_);
|
return start_server($_);
|
||||||
} elsif (s{^unix/}{/}) {
|
} elsif (s{^unix/}{/}) {
|
||||||
my $server_fh=local *FH;
|
my $server_fh=local *FH;
|
||||||
return ((socket $server_fh,AF_UNIX,SOCK_STREAM,PF_UNSPEC)
|
return ((socket($server_fh,AF_UNIX,SOCK_STREAM,PF_UNSPEC)
|
||||||
|| (socket $server_fh,AF_LOCAL,SOCK_STREAM,PF_UNSPEC)
|
|| socket $server_fh,AF_LOCAL,SOCK_STREAM,PF_UNSPEC)
|
||||||
&& connect($server_fh,sockaddr_un $_)
|
&& connect($server_fh,sockaddr_un $_)
|
||||||
? $server_fh : ());
|
? $server_fh : ());
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user