fix filter
[lttv.git] / ltt / branches / poly / lttv / modules / text / textDump.c
index 1335afc4c78a19b29d7992dece0fb4a41df75fd4..96773a6c08bbff6d333736a97c3852fc0ee696f7 100644 (file)
@@ -366,9 +366,9 @@ static int write_event_content(void *hook_data, void *call_data)
   /*
    * call to the filter if available
    */
-  if(!lttv_filter_tree_parse(filter->head,e,tfc->tf,tfc->t_context->t,tfs->process,tfc)) {
+  if(filter->head != NULL)
+    if(!lttv_filter_tree_parse(filter->head,e,tfc->tf,tfc->t_context->t,tfs->process,tfc))
       return FALSE;
-  }
   
   lttv_event_to_string(e, a_string, TRUE, a_field_names, tfs);
   g_string_append_printf(a_string,"\n");  
This page took 0.022964 seconds and 4 git commands to generate.