Patch curl_add_persistent for cURL related Bug #52828
Patch version 2010-09-13 15:15 UTC
Return to Bug #52828 |
Download this patch
Patch Revisions:
Developer: cataphract
Index: interface.c
===================================================================
--- interface.c (revision 303177)
+++ interface.c (working copy)
@@ -1771,7 +1771,7 @@
int type;
void * what;
- what = zend_fetch_resource(zvalue TSRMLS_CC, -1, "File-Handle", &type, 1, php_file_le_stream());
+ what = zend_fetch_resource(zvalue TSRMLS_CC, -1, "File-Handle", &type, 2, php_file_le_stream(), php_file_le_pstream());
if (!what) {
RETVAL_FALSE;
return 1;
|