Branch: Tag:

2010-03-29

2010-03-29 12:06:12 by 0

Avoid backtrace seen in RT#15249 when module->module_identifier() is NULL.

Rev: server/config_interface/actions/debug_summary.pike:1.15

1:   /* -  * $Id: debug_summary.pike,v 1.14 2010/01/27 10:01:06 mast Exp $ +  * $Id: debug_summary.pike,v 1.15 2010/03/29 12:06:12 jonasw Exp $    */   #include <stat.h>   #include <roxen.h>
139:    foreach(values(c->modules), mixed modulecopies)    foreach(values(modulecopies->copies), RoxenModule module)    res += sprintf("%s%s%s\n\n", -  make_headline(module->module_identifier()), +  make_headline(module->module_identifier() || "?"),    make_variables_summary(module->getvars()),    indent(make_extra_module_info(module),1));    return res;