Continued implementation of lttv_filter_tree !
[lttv.git] / ltt / branches / poly / lttv / modules / text / textFilter.c
index 17d73f60541d16c32617de543f363a333ddf3c81..5729634e2e9a7de705ec325cbb637503d47c9d1f 100644 (file)
@@ -101,20 +101,21 @@ void filter_analyze_file(void *hook_data) {
 void filter_analyze_string(void *hook_data) {
 
   g_print("textFilter::filter_analyze_string\n");
+
+  a_filter_string = g_string_new("");
   /*
         *      User may specify filtering options through static file
         *      and/or command line string.  From these sources, an 
         *      option string is rebuilded and sent to the filter core
         */
-  if(!a_filter_string->len) {
+//  if(!a_filter_string->len) {
     g_string_append(a_filter_string,a_string);
-    lttv_filter_new(a_filter_string,NULL);
-  }
-  else {
-    g_string_append(a_filter_string,"&"); /*conjonction between expression*/
-    g_string_append(a_filter_string,a_string);
-  }
+    lttv_filter_new(a_filter_string->str,NULL);
+//  }
+//  else {
+//    g_string_append(a_filter_string,"&"); /*conjonction between expression*/
+//    g_string_append(a_filter_string,a_string);
+//  }
 
 }
 
This page took 0.023884 seconds and 4 git commands to generate.