tony2001                Tue Jul 29 10:42:59 2008 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/curl   interface.c 
  Log:
  MFH: fix copy/paste error (patch by Mikko)
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/curl/interface.c?r1=1.62.2.14.2.35&r2=1.62.2.14.2.36&diff_format=u
Index: php-src/ext/curl/interface.c
diff -u php-src/ext/curl/interface.c:1.62.2.14.2.35 
php-src/ext/curl/interface.c:1.62.2.14.2.36
--- php-src/ext/curl/interface.c:1.62.2.14.2.35 Sat Jul 12 21:11:56 2008
+++ php-src/ext/curl/interface.c        Tue Jul 29 10:42:59 2008
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: interface.c,v 1.62.2.14.2.35 2008/07/12 21:11:56 felipe Exp $ */
+/* $Id: interface.c,v 1.62.2.14.2.36 2008/07/29 10:42:59 tony2001 Exp $ */
 
 #define ZEND_INCLUDE_FULL_WINDOWS_HEADERS
 
@@ -1421,7 +1421,7 @@
                case CURLOPT_READFUNCTION:
                        if (ch->handlers->read->func_name) {
                                zval_ptr_dtor(&ch->handlers->read->func_name);
-                               ch->handlers->write->fci_cache = 
empty_fcall_info_cache;
+                               ch->handlers->read->fci_cache = 
empty_fcall_info_cache;
                        }
                        zval_add_ref(zvalue);
                        ch->handlers->read->func_name = *zvalue;
@@ -1430,7 +1430,7 @@
                case CURLOPT_HEADERFUNCTION:
                        if (ch->handlers->write_header->func_name) {
                                
zval_ptr_dtor(&ch->handlers->write_header->func_name);
-                               ch->handlers->write->fci_cache = 
empty_fcall_info_cache;
+                               ch->handlers->write_header->fci_cache = 
empty_fcall_info_cache;
                        }
                        zval_add_ref(zvalue);
                        ch->handlers->write_header->func_name = *zvalue;



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to