com php-src: fixed parameter order for zend_throw_exception _ex call: ext/snmp/snmp.c
| From: | Anatol Belski | Date: | Sat, 14 Dec 2013 19:55:32 +0000 |
| Subject: | com php-src: fixed parameter order for zend_throw_exception _ex call: ext/snmp/snmp.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-74434@lists.php.net to get a copy of this message | ||
Commit: 897d11658a7575015441867da54d4d55e3d734e7
Author: Anatol Belski <ab@php.net> Sat, 14 Dec 2013 20:43:02 +0100
Parents: 964141f781f81bfd2068295b1607572381597ee7
Branches: str_size_and_int64
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=897d11658a7575015441867da54d4d55e3d734e7
Log:
fixed parameter order for zend_throw_exception_ex call
Changed paths:
M ext/snmp/snmp.c
Diff:
diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c
index 5833fad..9152262 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);