From 6ddfa55804cca3706e4f9fe803a76b7bc5310d47 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 6 Jan 2018 16:37:32 +0100 Subject: fix indentation and use after free in tcp plugin --- src/fs/fs_download.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/fs/fs_download.c') diff --git a/src/fs/fs_download.c b/src/fs/fs_download.c index ce852f2d0..c2a3d4c5d 100644 --- a/src/fs/fs_download.c +++ b/src/fs/fs_download.c @@ -37,7 +37,8 @@ static int is_recursive_download (struct GNUNET_FS_DownloadContext *dc) { return (0 != (dc->options & GNUNET_FS_DOWNLOAD_OPTION_RECURSIVE)) && - ( (GNUNET_YES == GNUNET_FS_meta_data_test_for_directory (dc->meta)) || + ( (GNUNET_YES == + GNUNET_FS_meta_data_test_for_directory (dc->meta)) || ( (NULL == dc->meta) && ( (NULL == dc->filename) || ( (strlen (dc->filename) >= strlen (GNUNET_FS_DIRECTORY_EXT)) && -- cgit v1.2.3