note 5347 deleted from ref.snmp by sniper
| From: | sniper@php.net | Date: | Thu, 26 Feb 2004 20:39:53 +0000 |
| Subject: | note 5347 deleted from ref.snmp by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-65836@lists.php.net to get a copy of this message | ||
Note Submitter: bira@tech.telepac.pt
----
Regarding to Gustavo's SNMP question.
I changed the code on ext/snmp/snmp.c.<br>
Heres how the snmp support compiles without errors. Dont forget the
--enable-ucd-snmp-hack:-)<br>
look for the following function (about line 360)<p>
PHP_FUNCTION(snmp_set_quick_print) {
/* jecete */
int set_val;
zval **a1;
if (ARG_COUNT(ht) != 1 || zend_get_parameters_ex(1, &a1) == FAILURE) {
WRONG_PARAM_COUNT;
}
convert_to_long_ex(a1);
/* jecete
Old value commented
int set_val = (*a1)->value.lval; */
set_val = (*a1)->value.lval;
snmp_set_quick_print(set_val);
}