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/fs/gnunet-auto-share.c | |
parent | ad47a1f332a5aa12d7b56e2b552fcdad65a90bbf (diff) | |
download | gnunet-fc8e308ea06aff671dc1d21e99e8b42bf5c2fda1.tar.gz gnunet-fc8e308ea06aff671dc1d21e99e8b42bf5c2fda1.zip |
Parameterized directory listing permission check
Diffstat (limited to 'src/fs/gnunet-auto-share.c')
-rw-r--r-- | src/fs/gnunet-auto-share.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/gnunet-auto-share.c b/src/fs/gnunet-auto-share.c index e0514bc8f..86cab5593 100644 --- a/src/fs/gnunet-auto-share.c +++ b/src/fs/gnunet-auto-share.c | |||
@@ -681,7 +681,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
681 | { | 681 | { |
682 | /* check arguments */ | 682 | /* check arguments */ |
683 | if ((args[0] == NULL) || (args[1] != NULL) || | 683 | if ((args[0] == NULL) || (args[1] != NULL) || |
684 | (GNUNET_YES != GNUNET_DISK_directory_test (args[0]))) | 684 | (GNUNET_YES != GNUNET_DISK_directory_test (args[0], GNUNET_YES))) |
685 | { | 685 | { |
686 | printf (_("You must specify one and only one directory name for automatic publication.\n")); | 686 | printf (_("You must specify one and only one directory name for automatic publication.\n")); |
687 | ret = -1; | 687 | ret = -1; |