diff options
Diffstat (limited to 'event-php56.patch')
-rw-r--r-- | event-php56.patch | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/event-php56.patch b/event-php56.patch deleted file mode 100644 index 6dd562d..0000000 --- a/event-php56.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/util.h b/src/util.h -index 57ef991..8c3b652 100644 ---- a/src/util.h -+++ b/src/util.h -@@ -96,7 +96,7 @@ int _php_event_getsockname(evutil_socket_t fd, zval **ppzaddress, zval **ppzport - - #define PHP_EVENT_REQUIRE_BASE_BY_REF(zbase) \ - do { \ -- if (!Z_ISREF_P((zbase))) { \ -+ if (!Z_ISREF_P((zbase)) || Z_REFCOUNT_P(zbase) < 2) { \ - php_error_docref(NULL TSRMLS_CC, E_ERROR, \ - "EventBase must be passed by reference"); \ - } \ |