Show
Ignore:
Timestamp:
06/20/08 11:20:23 (4 months ago)
Author:
bart
Message:

optimize.c: In php 5.3 this field is const
ea_restore.c: strings comparison can't be done like that, stupid me

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • eaccelerator/trunk/ea_restore.c

    r350 r352  
    352352    case IS_OBJECT: 
    353353    case IS_STRING: 
    354         if (Z_STRVAL_P(zv) == NULL || Z_STRVAL_P(zv) == "" || Z_STRLEN_P(zv) == 0) { 
     354        if (Z_STRVAL_P(zv) == NULL || Z_STRLEN_P(zv) == 0) { 
    355355            Z_STRLEN_P(zv) = 0; 
    356356            Z_STRVAL_P(zv) = empty_string;