projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
73e9292
)
Can't count parentheses.
Jarkko Hietaniemi [Sun, 9 Sep 2001 13:46:59 +0000 (13:46 +0000)]
p4raw-id: //depot/perl@11962
ext/IO/lib/IO/Socket/INET.pm
patch
|
blob
|
blame
|
history
diff --git
a/ext/IO/lib/IO/Socket/INET.pm
b/ext/IO/lib/IO/Socket/INET.pm
index
8f1845b
..
139163b
100644
(file)
--- a/
ext/IO/lib/IO/Socket/INET.pm
+++ b/
ext/IO/lib/IO/Socket/INET.pm
@@
-42,7
+42,7
@@
sub _sock_info {
if(defined $addr && $addr =~ s,:([\w\(\)/]+)$,,);
if(defined $proto && $proto =~ /\D/) {
- if(@proto = getprotobyname($proto) {
+ if(@proto = getprotobyname($proto)) {
$proto = $proto[2] || undef;
}
else {