From c2ced4a2aba6bdde3fdad77407cd528e8a11a446 Mon Sep 17 00:00:00 2001 From: Jeff Morriss Date: Tue, 9 Apr 2013 02:48:03 +0000 Subject: Don't try to open /.wireshark on Windows: Wireshark hasn't written to that directory since 2001 and reading from that directory was only left in for backwards compatibility with versions prior to r4702. I think it's now safe to remove that backwards compatibility. This eliminates the last argument of get_persconffile_path(). https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8437 svn path=/trunk/; revision=48797 --- epan/uat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/uat.c') diff --git a/epan/uat.c b/epan/uat.c index 2f05fb621f..f1abbb6ccb 100644 --- a/epan/uat.c +++ b/epan/uat.c @@ -168,7 +168,7 @@ gchar* uat_get_actual_filename(uat_t* uat, gboolean for_writing) { gchar *pers_fname = NULL; if (! uat->from_global) { - pers_fname = get_persconffile_path(uat->filename, uat->from_profile, for_writing); + pers_fname = get_persconffile_path(uat->filename, uat->from_profile); } if ((! for_writing ) && (! file_exists(pers_fname) )) { -- cgit v1.2.3