summaryrefslogtreecommitdiff
path: root/ext/snmp/snmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/snmp/snmp.c')
-rw-r--r--ext/snmp/snmp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c
index b4433de950..980d74785d 100644
--- a/ext/snmp/snmp.c
+++ b/ext/snmp/snmp.c
@@ -1745,7 +1745,7 @@ PHP_FUNCTION(snmp_read_mib)
}
/* }}} */
-/* {{{ proto SNMP SNMP::__construct(int version, string hostname, string community|securityName [, long timeout [, long retries]])
+/* {{{ proto SNMP SNMP::__construct(int version, string hostname, string community|securityName [, int timeout [, int retries]])
Creates a new SNMP session to specified host. */
PHP_METHOD(snmp, __construct)
{
@@ -1868,7 +1868,7 @@ PHP_METHOD(snmp, setSecurity)
}
/* }}} */
-/* {{{ proto long SNMP::getErrno()
+/* {{{ proto int SNMP::getErrno()
Get last error code number */
PHP_METHOD(snmp, getErrno)
{
@@ -1882,7 +1882,7 @@ PHP_METHOD(snmp, getErrno)
}
/* }}} */
-/* {{{ proto long SNMP::getError()
+/* {{{ proto int SNMP::getError()
Get last error message */
PHP_METHOD(snmp, getError)
{