From 9d7a3fff18b8491c6f6756d2b3975fa77a189cd2 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Wed, 18 Jan 2012 02:46:50 +0000 Subject: [PATCH] Fixed bug #60781 (getprotobyname: returns FALSE, not -1) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322431 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/network/functions/getprotobyname.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/network/functions/getprotobyname.xml b/reference/network/functions/getprotobyname.xml index 2b967815c6..c59d8fbb82 100644 --- a/reference/network/functions/getprotobyname.xml +++ b/reference/network/functions/getprotobyname.xml @@ -38,7 +38,7 @@ &reftitle.returnvalues; - Returns the protocol number or -1 if the protocol is not found. + Returns the protocol number, &return.falseforfailure;. @@ -52,7 +52,7 @@