summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
35ce211)
Seems to happen sometimes with a well placed xml comment.
g_assert(i->doc); /* a doc is open? */
while (node) {
g_assert(i->doc); /* a doc is open? */
while (node) {
- struct Callback *c = g_hash_table_lookup(i->callbacks, node->name);
- if (c) c->func(node, c->data);
+ if (node->name) {
+ struct Callback *c = g_hash_table_lookup(i->callbacks, node->name);
+ if (c) c->func(node, c->data);
+ }