We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61f8f68 commit 8574268Copy full SHA for 8574268
ext/snmp/snmp.c
@@ -1869,6 +1869,10 @@ PHP_METHOD(snmp, getErrno)
1869
1870
snmp_object = Z_SNMP_P(object);
1871
1872
+ if (zend_parse_parameters_none() == FAILURE) {
1873
+ RETURN_FALSE;
1874
+ }
1875
+
1876
RETVAL_LONG(snmp_object->snmp_errno);
1877
return;
1878
}
@@ -1883,6 +1887,10 @@ PHP_METHOD(snmp, getError)
1883
1887
1884
1888
1885
1889
1890
1891
1892
1893
1886
1894
RETURN_STRING(snmp_object->snmp_errstr);
1895
1896
/* }}} */
0 commit comments