[PATCH 03/11] RETURN_STRINGL takes only 2 arguments
| From: | Michael Heimpold | Date: | Tue, 19 Jul 2016 21:05:53 +0000 |
| Subject: | [PATCH 03/11] RETURN_STRINGL takes only 2 arguments | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-13859@lists.php.net to get a copy of this message | ||
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
---
dio.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dio.c b/dio.c
index 6f2d58c..e8660f8 100644
--- a/dio.c
+++ b/dio.c
@@ -24,6 +24,7 @@
#include "php.h"
#include "php_ini.h"
#include "ext/standard/info.h"
+#include "ext/standard/php_string.h"
#include "php_dio.h"
#include "php_dio_stream_wrappers.h"
@@ -213,7 +214,7 @@ PHP_FUNCTION(dio_read)
data = erealloc(data, res + 1);
data[res] = 0;
- RETURN_STRINGL(data, res, 0);
+ RETURN_STRINGL(data, res);
}
/* }}} */
--
2.5.0