Changeset 1280


Ignore:
Timestamp:
2013-07-08T08:38:59+02:00 (13 months ago)
Author:
moo
Message:

optimizer: fix devel debug output

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/mod_optimizer/xc_optimizer.c

    r1279 r1280  
    241241            php_var_export(&zv, 1 TSRMLS_CC); 
    242242            php_output_get_contents(&result TSRMLS_CC);  
    243             php_output_end(TSRMLS_C); 
     243            php_output_discard(TSRMLS_C); 
    244244 
    245245            snprintf(buf, size, Z_STRVAL(result)); 
  • trunk/xcache/xc_compatibility.h

    r1276 r1280  
    114114static inline int php_output_start_default(TSRMLS_D) { php_start_ob_buffer(NULL, 0, 1 TSRMLS_CC); } 
    115115static inline int php_output_get_contents(zval *p TSRMLS_DC) { php_ob_get_buffer(p TSRMLS_CC); } 
    116 static inline int php_output_end(TSRMLS_D) { php_end_ob_buffer(0, 0 TSRMLS_CC); } 
     116static inline int php_output_discard(TSRMLS_D) { php_end_ob_buffer(0, 0 TSRMLS_CC); } 
    117117#endif 
    118118 
Note: See TracChangeset for help on using the changeset viewer.