Changeset 297

Show
Ignore:
Timestamp:
02/13/07 23:42:38 (1 year ago)
Author:
bart
Message:

Fixed a bug in the zend_class_entry dump debug routine

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • eaccelerator/trunk/ChangeLog

    r296 r297  
    1111        * Some more year updates 
    1212        * Fix loading of cached scripts and data on disk 
     13        * Fixed a bug in the zend_class_entry dump debug routine 
    1314 
    14152007-01-29  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 
  • eaccelerator/trunk/debug.c

    r288 r297  
    295295{ 
    296296    fprintf(F_fp, "zend class entry: '%s' (len = %u)\n", ce->name, ce->name_length); 
    297     fprintf(F_fp, "\tparent: '%s'\n", ce->parent); 
     297    fprintf(F_fp, "\tparent: '%s'\n", (ce->parent == NULL) ? "none" : ce->parent->name); 
    298298    fprintf(F_fp, "\ttype: %d\n", ce->type); 
    299299    fprintf(F_fp, "\tfunction_table: %u entries\n", ce->function_table.nNumOfElements);