Changeset c8b77e8 in git


Ignore:
Timestamp:
2013-07-08T06:38:59Z (6 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.1, 3.2, master, trunk
Children:
c7492e6
Parents:
770a697
Message:

optimizer: fix devel debug output

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1280 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • mod_optimizer/xc_optimizer.c

    r770a697 rc8b77e8  
    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));
  • xcache/xc_compatibility.h

    r401eee2 rc8b77e8  
    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.