Changeset 1250 in svn for trunk


Ignore:
Timestamp:
2013-05-24T09:36:16Z (2 years ago)
Author:
Xuefer
Message:

fix optimizer debug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mod_optimizer/xc_optimizer.c

    r1249 r1250  
    1414
    1515#ifdef XCACHE_DEBUG
    16 #error 1
    1716#   include "xc_processor.h"
    1817#   include "xcache/xc_const_string.h"
     
    254253    case IS_UNUSED:
    255254        if (Z_OP(*op).opline_num) {
    256             snprintf(buf, size, "u#%d", Z_OP(op).opline_num);
     255            snprintf(buf, size, "u#%d", Z_OP(*op).opline_num);
    257256        }
    258257        else {
     
    262261
    263262    default:
    264         snprintf(buf, size, "%d %d", op->op_type, Z_OP(op).var);
     263        snprintf(buf, size, "%d %d", op->op_type, Z_OP(*op).var);
    265264    }
    266265}
Note: See TracChangeset for help on using the changeset viewer.