aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-part.c
diff options
context:
space:
mode:
authorJon Trowbridge <trow@gnu.org>2001-04-14 06:08:03 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-04-14 06:08:03 +0800
commit0eb8afc1d0cfa27d020a4191f44e400c714d190c (patch)
treeb3629148572fa1f1ee1982e8359faed15245d74b /filter/filter-part.c
parent546128c8d99b1edd859ba5d8b57549550b910a1d (diff)
downloadgsoc2013-evolution-0eb8afc1d0cfa27d020a4191f44e400c714d190c.tar.gz
gsoc2013-evolution-0eb8afc1d0cfa27d020a4191f44e400c714d190c.tar.zst
gsoc2013-evolution-0eb8afc1d0cfa27d020a4191f44e400c714d190c.zip
Make the (previously unused) get-source command actually do the right
2001-04-13 Jon Trowbridge <trow@gnu.org> * camel-filter-search.c (get_source): Make the (previously unused) get-source command actually do the right thing, properly shrouding any passed-in source and falling back to use the source attached to the mime message. 2001-04-13 Jon Trowbridge <trow@gnu.org> * filtertypes.xml: Add XML specs for source account filtering. * filter-element.c (filter_element_new_type_name): Recognize type "source", construct a FilterSource. * filter-source.c: Added. A FilterElement for the account e-mail comes from. svn path=/trunk/; revision=9304
Diffstat (limited to 'filter/filter-part.c')
-rw-r--r--filter/filter-part.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/filter-part.c b/filter/filter-part.c
index 6e7fc7fc2c..c4cc6888b9 100644
--- a/filter/filter-part.c
+++ b/filter/filter-part.c
@@ -157,7 +157,7 @@ filter_part_xml_create (FilterPart *ff, xmlNodePtr node)
&& (el = filter_element_new_type_name (type)) != NULL) {
filter_element_xml_create (el, n);
xmlFree (type);
- d(printf ("adding element part %p %s\n", el, el->name));
+ d(printf ("adding element part %p %s\n", ff, el, el->name));
ff->elements = g_list_append (ff->elements, el);
} else {
g_warning ("Invalid xml format, missing/unknown input type");
@@ -432,7 +432,7 @@ filter_part_expand_code (FilterPart *ff, const char *source, GString *out)
memcpy (name, newstart+2, len);
name[len] = 0;
fe = filter_part_find_element (ff, name);
- d(printf("expand code: looking up variab le '%s' = %p\n", name, fe));
+ d(printf("expand code: looking up variab le '%s' = %p\n", ff, name, fe));
if (fe) {
g_string_sprintfa (out, "%.*s", newstart-start, start);
filter_element_format_sexp (fe, out);