- fix a crash in new_avpl_strict_match when the operator avpl was empty

- change the name of the preference mate.config_filename: into mate.config:


svn path=/trunk/; revision=13488
This commit is contained in:
Luis Ontanon 2005-02-24 04:11:31 +00:00
parent f92477f793
commit 96c41e1293
2 changed files with 4 additions and 1 deletions

View File

@ -1217,6 +1217,9 @@ extern AVPL* new_avpl_exact_match(guint8* name,AVPL* src, AVPL* op, gboolean cop
dbg_print(dbg_avpl_op,3,dbg_fp,"new_avpl_every_match: %X src=%X op=%X name='%s'",newavpl,src,op,name);
#endif
if (op->len == 0)
return newavpl;
cs = src->null.next;
co = op->null.next;
while(1) {

View File

@ -336,7 +336,7 @@ proto_register_mate(void)
proto_mate = proto_register_protocol("Meta Analysis Tracing Engine", "MATE", "mate");
register_dissector("mate",mate_tree,proto_mate);
mate_module = prefs_register_protocol(proto_mate, proto_reg_handoff_mate);
prefs_register_string_preference(mate_module, "config_filename",
prefs_register_string_preference(mate_module, "config",
"Configuration Filename",
"The name of the file containing the mate module's configuration",
&pref_mate_config_filename);