summaryrefslogtreecommitdiff
path: root/ext/snmp/winsnmp.c
diff options
context:
space:
mode:
authorJeroen van Wolffelaar <jeroen@php.net>2001-09-25 22:49:04 +0000
committerJeroen van Wolffelaar <jeroen@php.net>2001-09-25 22:49:04 +0000
commit6cfba2a3ea0c59f63b8c225b2a0ff85194f432f5 (patch)
treeb2660d658d42d90c170552b76c11815afd03aed3 /ext/snmp/winsnmp.c
parent0ddd124d1d58f5f1094c8287e0f3905e6ab45d40 (diff)
downloadphp-git-6cfba2a3ea0c59f63b8c225b2a0ff85194f432f5.tar.gz
2nd phase in back-substitution those macro's
I've got pretty much everything now...
Diffstat (limited to 'ext/snmp/winsnmp.c')
-rw-r--r--ext/snmp/winsnmp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/snmp/winsnmp.c b/ext/snmp/winsnmp.c
index 2ac0aba2f4..0a9bcb6f99 100644
--- a/ext/snmp/winsnmp.c
+++ b/ext/snmp/winsnmp.c
@@ -74,10 +74,10 @@ void _php_snmp(INTERNAL_FUNCTION_PARAMETERS, int st) {
convert_to_string(a2);
convert_to_string(a3);
- agent=a1->value.str.val;
- community=a2->value.str.val;
+ agent=Z_STRVAL_P(a1);
+ community=Z_STRVAL_P(a2);
operation=st;
- SnmpMgrStrToOid(a3->value.str.val, &oid);
+ SnmpMgrStrToOid(Z_STRVAL_P(a3), &oid);
/*
I've limited this to only one oid, but we can create a