From ca60a32c601fe9b0236d3d4717c7b94368a3c172 Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Thu, 19 Jun 2014 13:49:07 +0200 Subject: errors are no longer thrown as exceptions, but are php fatal errors, so that they more closely match the zend error reporting system --- zend/streambuf.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'zend/streambuf.cpp') diff --git a/zend/streambuf.cpp b/zend/streambuf.cpp index 86e5f03..11d928d 100644 --- a/zend/streambuf.cpp +++ b/zend/streambuf.cpp @@ -33,7 +33,6 @@ int StreamBuf::sync() // not null terminated and (2) it could contain % signs and allow all // sorts of buffer overflows. zend_error(_error, "%.*s", (int)size, pbase()); - } else { @@ -52,4 +51,4 @@ int StreamBuf::sync() * End namespace */ } - \ No newline at end of file + -- cgit v1.2.3