]> source.dussan.org Git - rspamd.git/commitdiff
* Remove unused debug
authorVsevolod Stakhov <vsevolod@rambler-co.ru>
Tue, 19 May 2009 11:20:39 +0000 (15:20 +0400)
committerVsevolod Stakhov <vsevolod@rambler-co.ru>
Tue, 19 May 2009 11:20:39 +0000 (15:20 +0400)
src/html.c

index 9a816c4bd5cc91696867b456a6a5946e47add46a..eb2179369d586b15e7eadb297b86dcf9dd600284 100644 (file)
@@ -231,7 +231,6 @@ check_balance (GNode *node, GNode **cur_level)
                while (cur && cur->data) {
                        tmp = cur->data;
                        if (tmp->tag->id == arg->tag->id && (tmp->flags & FL_CLOSED) == 0) {
-                               msg_debug ("check_balance: found closing tag for parent '%s'", tmp->tag->name);
                                tmp->flags |= FL_CLOSED;
                                /* Destroy current node as we find corresponding parent node */
                                g_node_destroy (node);
@@ -246,7 +245,6 @@ check_balance (GNode *node, GNode **cur_level)
                return TRUE;
        }
        
-       msg_debug ("check_balance: found unbalanced tag %s", arg->tag->name);
        return FALSE;
 }
 
@@ -302,12 +300,8 @@ add_html_node (memory_pool_t *pool, struct mime_text_part *part, char *tag_text,
                else {
                        g_node_append (*cur_level, new);
                        if ((data->flags & FL_CLOSED) == 0) {
-                               msg_debug ("add_html_node: append opening tag: '%s'", data->tag->name);
                                *cur_level = new;
                        }
-                       else {
-                               msg_debug ("add_html_node: append closed tag: '%s'", data->tag->name);
-                       }
                }
        }