diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2012-11-07 16:56:55 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2012-11-07 16:56:55 +0000 |
commit | fc8e308ea06aff671dc1d21e99e8b42bf5c2fda1 (patch) | |
tree | d85027a39b401f7e1cd766a3f8d9f992393d0517 /src/regex/gnunet-regex-simulation-profiler.c | |
parent | ad47a1f332a5aa12d7b56e2b552fcdad65a90bbf (diff) | |
download | gnunet-fc8e308ea06aff671dc1d21e99e8b42bf5c2fda1.tar.gz gnunet-fc8e308ea06aff671dc1d21e99e8b42bf5c2fda1.zip |
Parameterized directory listing permission check
Diffstat (limited to 'src/regex/gnunet-regex-simulation-profiler.c')
-rw-r--r-- | src/regex/gnunet-regex-simulation-profiler.c | 2 |
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 74e88ea9f..4bb033ea6 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, | |||
499 | result = GNUNET_SYSERR; | 499 | result = GNUNET_SYSERR; |
500 | return; | 500 | return; |
501 | } | 501 | } |
502 | if (GNUNET_YES != GNUNET_DISK_directory_test (args[0])) | 502 | if (GNUNET_YES != GNUNET_DISK_directory_test (args[0], GNUNET_YES)) |
503 | { | 503 | { |
504 | fprintf (stderr, _("Specified policies directory does not exist. Exiting.\n")); | 504 | fprintf (stderr, _("Specified policies directory does not exist. Exiting.\n")); |
505 | result = GNUNET_SYSERR; | 505 | result = GNUNET_SYSERR; |