Show
Ignore:
Timestamp:
02/13/07 23:42:38 (2 years 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/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);