diff options
author | Gisle Aas <gisle@activestate.com> | 2005-12-08 09:56:22 +0000 |
---|---|---|
committer | Gisle Aas <gisle@activestate.com> | 2005-12-08 09:56:22 +0000 |
commit | f0bc0462cc91ff06615d9aca37933a66b68ea888 (patch) | |
tree | 9da33c61c674c6541625ab4622f37a81b177e344 /ext/IO | |
parent | 23d0437f66972bc146b114c26cbf448ceea3e9e2 (diff) | |
download | perl-f0bc0462cc91ff06615d9aca37933a66b68ea888.tar.gz |
Fixup the setsockopt usage message; missing OPTVAL.
p4raw-id: //depot/perl@26300
Diffstat (limited to 'ext/IO')
-rw-r--r-- | ext/IO/lib/IO/Socket.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/IO/lib/IO/Socket.pm b/ext/IO/lib/IO/Socket.pm index 46504db209..7e57bad06f 100644 --- a/ext/IO/lib/IO/Socket.pm +++ b/ext/IO/lib/IO/Socket.pm @@ -249,7 +249,7 @@ sub shutdown { } sub setsockopt { - @_ == 4 or croak '$sock->setsockopt(LEVEL, OPTNAME)'; + @_ == 4 or croak '$sock->setsockopt(LEVEL, OPTNAME, OPTVAL)'; setsockopt($_[0],$_[1],$_[2],$_[3]); } |