From: Gisle Aas Date: Thu, 8 Dec 2005 09:56:22 +0000 (+0000) Subject: Fixup the setsockopt usage message; missing OPTVAL. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f0bc0462cc91ff06615d9aca37933a66b68ea888;p=p5sagit%2Fp5-mst-13.2.git Fixup the setsockopt usage message; missing OPTVAL. p4raw-id: //depot/perl@26300 --- diff --git a/ext/IO/lib/IO/Socket.pm b/ext/IO/lib/IO/Socket.pm index 46504db..7e57bad 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]); }