summaryrefslogtreecommitdiff
path: root/epan/uat.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2013-04-09 02:48:03 +0000
committerJeff Morriss <jeff.morriss.ws@gmail.com>2013-04-09 02:48:03 +0000
commitc2ced4a2aba6bdde3fdad77407cd528e8a11a446 (patch)
tree76fee7f6f6a7e18bbec88064f1f36de465c1f667 /epan/uat.c
parentcfd03173b443f9c8644aa7196105f7eb166926a7 (diff)
downloadwireshark-c2ced4a2aba6bdde3fdad77407cd528e8a11a446.tar.gz
Don't try to open <home>/.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
Diffstat (limited to 'epan/uat.c')
-rw-r--r--epan/uat.c2
1 files changed, 1 insertions, 1 deletions
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) )) {