aboutsummaryrefslogtreecommitdiff
path: root/src/regex/gnunet-regex-simulation-profiler.c
diff options
context:
space:
mode:
authorharsha <harsha@140774ce-b5e7-0310-ab8b-a85725594a96>2012-11-07 16:56:55 +0000
committerharsha <harsha@140774ce-b5e7-0310-ab8b-a85725594a96>2012-11-07 16:56:55 +0000
commite8b107d67a898745057eec122ce916755c0786fc (patch)
treed85027a39b401f7e1cd766a3f8d9f992393d0517 /src/regex/gnunet-regex-simulation-profiler.c
parent7c941fff7dbe4bde54a7caf99dbda40db07e21ab (diff)
Parameterized directory listing permission check
git-svn-id: https://gnunet.org/svn/gnunet@24823 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/regex/gnunet-regex-simulation-profiler.c')
-rw-r--r--src/regex/gnunet-regex-simulation-profiler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regex/gnunet-regex-simulation-profiler.c b/src/regex/gnunet-regex-simulation-profiler.c
index 74e88ea9f8..4bb033ea60 100644
--- a/src/regex/gnunet-regex-simulation-profiler.c
+++ b/src/regex/gnunet-regex-simulation-profiler.c
@@ -499,7 +499,7 @@ run (void *cls, char *const *args, const char *cfgfile,
result = GNUNET_SYSERR;
return;
}
- if (GNUNET_YES != GNUNET_DISK_directory_test (args[0]))
+ if (GNUNET_YES != GNUNET_DISK_directory_test (args[0], GNUNET_YES))
{
fprintf (stderr, _("Specified policies directory does not exist. Exiting.\n"));
result = GNUNET_SYSERR;