php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login

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;
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Wed Apr 23 09:02:23 2014 UTC