diff options
-rw-r--r-- | src/fs/fs_file_information.c | 2 | ||||
-rw-r--r-- | src/include/gnunet_fs_service.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/fs_file_information.c b/src/fs/fs_file_information.c index b248fae44..e920bf46b 100644 --- a/src/fs/fs_file_information.c +++ b/src/fs/fs_file_information.c | |||
@@ -587,7 +587,7 @@ GNUNET_FS_file_information_create_from_directory (struct GNUNET_FS_Handle *h, | |||
587 | * @return GNUNET_YES if so, GNUNET_NO if not | 587 | * @return GNUNET_YES if so, GNUNET_NO if not |
588 | */ | 588 | */ |
589 | int | 589 | int |
590 | GNUNET_FS_file_information_is_directory (struct GNUNET_FS_FileInformation *ent) | 590 | GNUNET_FS_file_information_is_directory (const struct GNUNET_FS_FileInformation *ent) |
591 | { | 591 | { |
592 | return ent->is_directory; | 592 | return ent->is_directory; |
593 | } | 593 | } |
diff --git a/src/include/gnunet_fs_service.h b/src/include/gnunet_fs_service.h index 13b0cd2c5..04e7b606c 100644 --- a/src/include/gnunet_fs_service.h +++ b/src/include/gnunet_fs_service.h | |||
@@ -1962,7 +1962,7 @@ GNUNET_FS_file_information_create_empty_directory (struct GNUNET_FS_Handle *h, | |||
1962 | * @return GNUNET_YES if so, GNUNET_NO if not | 1962 | * @return GNUNET_YES if so, GNUNET_NO if not |
1963 | */ | 1963 | */ |
1964 | int | 1964 | int |
1965 | GNUNET_FS_file_information_is_directory (struct GNUNET_FS_FileInformation *ent); | 1965 | GNUNET_FS_file_information_is_directory (const struct GNUNET_FS_FileInformation *ent); |
1966 | 1966 | ||
1967 | 1967 | ||
1968 | /** | 1968 | /** |