There was an error while loading. Please reload this page.
1 parent dae2083 commit a23a795Copy full SHA for a23a795
1 file changed
ext/snmp/snmp.c
@@ -2217,13 +2217,11 @@ static zend_result php_snmp_write_oid_output_format(php_snmp_object *snmp_object
2217
/* }}} */
2218
2219
/* {{{ */
2220
-static int php_snmp_write_exceptions_enabled(php_snmp_object *snmp_object, zval *newval)
+static zend_result php_snmp_write_exceptions_enabled(php_snmp_object *snmp_object, zval *newval)
2221
{
2222
- int ret = SUCCESS;
2223
-
2224
snmp_object->exceptions_enabled = zval_get_long(newval);
2225
2226
- return ret;
+ return SUCCESS;
2227
}
2228
2229
0 commit comments