g_file_get_contents(a_file_name,&a_file_content,NULL,NULL);
-
- if(((GString*)*(value.v_pointer))->len != 0)
- g_string_append_c((GString*)*(value.v_pointer),'&');
- g_string_append_c((GString*)*(value.v_pointer),'(');
- g_string_append((GString*)*(value.v_pointer),a_file_content);
- g_string_append_c((GString*)*(value.v_pointer),')');
-
retval= lttv_iattribute_find_by_path(attributes, "filter/expression",
LTTV_POINTER, &value);
g_assert(retval);
+
+ if (((GString*)*(value.v_pointer))->len != 0)
+ g_string_append_c((GString*)*(value.v_pointer),'&');
+ g_string_append_c((GString*)*(value.v_pointer),'(');
+ g_string_append((GString*)*(value.v_pointer),a_file_content);
+ g_string_append_c((GString*)*(value.v_pointer),')');
}
/**
* and/or command line string. From these sources, an
* option string is rebuilded and sent to the filter core
*/
-
- if(((GString*)*(value.v_pointer))->len != 0)
- g_string_append_c((GString*)*(value.v_pointer),'&');
- g_string_append_c((GString*)*(value.v_pointer),'(');
- g_string_append((GString*)*(value.v_pointer),a_string);
- g_string_append_c((GString*)*(value.v_pointer),')');
-
retval= lttv_iattribute_find_by_path(attributes, "filter/expression",
LTTV_POINTER, &value);
g_assert(retval);
+
+ if (((GString*)*(value.v_pointer))->len != 0)
+ g_string_append_c((GString*)*(value.v_pointer),'&');
+ g_string_append_c((GString*)*(value.v_pointer),'(');
+ g_string_append((GString*)*(value.v_pointer),a_string);
+ g_string_append_c((GString*)*(value.v_pointer),')');
}
/**