com php-src: Remove wrong argument $session from SNMP::setSecurity(): ext/snmp/snmp.c ext/snmp/tests/reflection.phpt
| From: | Stanislav Malyshev | Date: | Fri, 11 Sep 2015 16:13:50 +0000 |
| Subject: | com php-src: Remove wrong argument $session from SNMP::setSecurity(): ext/snmp/snmp.c ext/snmp/tests/reflection.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-89437@lists.php.net to get a copy of this message | ||
Commit: e326fa78552eef34e6e0ef362e3de134be4ff163
Author: jubianchi <contact@jubianchi.fr> Fri, 11 Sep 2015 18:13:23 +0200
Parents: d96c66909d1350f653dd631416f6174c7232b7e7
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e326fa78552eef34e6e0ef362e3de134be4ff163
Log:
Remove wrong argument $session from SNMP::setSecurity()
Changed paths:
M ext/snmp/snmp.c
M ext/snmp/tests/reflection.phpt
Diff:
diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c
index 76ba880..05e2ba2 100644
--- a/ext/snmp/snmp.c
+++ b/ext/snmp/snmp.c
@@ -338,7 +338,6 @@ ZEND_BEGIN_ARG_INFO(arginfo_snmp_void, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_snmp_setSecurity, 0, 0, 8)
- ZEND_ARG_INFO(0, session)
ZEND_ARG_INFO(0, sec_level)
ZEND_ARG_INFO(0, auth_protocol)
ZEND_ARG_INFO(0, auth_passphrase)
diff --git a/ext/snmp/tests/reflection.phpt b/ext/snmp/tests/reflection.phpt
index 91e9876..8e2b92f 100644
--- a/ext/snmp/tests/reflection.phpt
+++ b/ext/snmp/tests/reflection.phpt
@@ -41,15 +41,14 @@ Method [ <internal:snmp> public method close ] {
Method [ <internal:snmp> public method setSecurity ] {
- - Parameters [8] {
- Parameter #0 [ <required> $session ]
- Parameter #1 [ <required> $sec_level ]
- Parameter #2 [ <required> $auth_protocol ]
- Parameter #3 [ <required> $auth_passphrase ]
- Parameter #4 [ <required> $priv_protocol ]
- Parameter #5 [ <required> $priv_passphrase ]
- Parameter #6 [ <required> $contextName ]
- Parameter #7 [ <required> $contextEngineID ]
+ - Parameters [7] {
+ Parameter #0 [ <required> $sec_level ]
+ Parameter #1 [ <required> $auth_protocol ]
+ Parameter #2 [ <required> $auth_passphrase ]
+ Parameter #3 [ <required> $priv_protocol ]
+ Parameter #4 [ <required> $priv_passphrase ]
+ Parameter #5 [ <required> $contextName ]
+ Parameter #6 [ <required> $contextEngineID ]
}
}