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/chat | |
parent | ad47a1f332a5aa12d7b56e2b552fcdad65a90bbf (diff) | |
download | gnunet-fc8e308ea06aff671dc1d21e99e8b42bf5c2fda1.tar.gz gnunet-fc8e308ea06aff671dc1d21e99e8b42bf5c2fda1.zip |
Parameterized directory listing permission check
Diffstat (limited to 'src/chat')
-rw-r--r-- | src/chat/chat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chat/chat.c b/src/chat/chat.c index 26f8f2e38..b2078e563 100644 --- a/src/chat/chat.c +++ b/src/chat/chat.c | |||
@@ -473,7 +473,7 @@ init_private_key (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
473 | return NULL; | 473 | return NULL; |
474 | } | 474 | } |
475 | GNUNET_DISK_directory_create (home); | 475 | GNUNET_DISK_directory_create (home); |
476 | if (GNUNET_OK != GNUNET_DISK_directory_test (home)) | 476 | if (GNUNET_OK != GNUNET_DISK_directory_test (home, GNUNET_YES)) |
477 | { | 477 | { |
478 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 478 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
479 | _("Failed to access chat home directory `%s'\n"), home); | 479 | _("Failed to access chat home directory `%s'\n"), home); |