diff options
author | Anatol Belski <ab@php.net> | 2013-12-14 20:43:02 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2013-12-14 20:43:02 +0100 |
commit | 68a73ce3c449622f729bae257d1ed42e54a1a839 (patch) | |
tree | 39d247adc5c3866fdc2a04dc6f767fe7118602e5 /ext/snmp | |
parent | 1b3e2c299d2d39830d0bec5abe82407db673594a (diff) | |
download | php-git-68a73ce3c449622f729bae257d1ed42e54a1a839.tar.gz |
fixed parameter order for zend_throw_exception_ex call
Diffstat (limited to 'ext/snmp')
-rw-r--r-- | ext/snmp/snmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c index 93c2b21ddc..1bf0b3a4da 100644 --- a/ext/snmp/snmp.c +++ b/ext/snmp/snmp.c @@ -533,7 +533,7 @@ static void php_snmp_error(zval *object, const char *docref TSRMLS_DC, int type, } if (object && (snmp_object->exceptions_enabled & type)) { - zend_throw_exception_ex(php_snmp_exception_ce, type, snmp_object->snmp_errstr TSRMLS_CC); + zend_throw_exception_ex(php_snmp_exception_ce, type TSRMLS_CC, snmp_object->snmp_errstr); } else { va_start(args, format); php_verror(docref, "", E_WARNING, format, args TSRMLS_CC); |