diff options
Diffstat (limited to 'src/fs/fs_api.c')
-rw-r--r-- | src/fs/fs_api.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/fs/fs_api.c b/src/fs/fs_api.c index 1efda5a82..c2e2ada3e 100644 --- a/src/fs/fs_api.c +++ b/src/fs/fs_api.c | |||
@@ -1044,7 +1044,8 @@ cleanup: | |||
1044 | * @return NULL on error | 1044 | * @return NULL on error |
1045 | */ | 1045 | */ |
1046 | static struct GNUNET_FS_FileInformation * | 1046 | static struct GNUNET_FS_FileInformation * |
1047 | deserialize_file_information (struct GNUNET_FS_Handle *h, const char *filename) | 1047 | deserialize_file_information (struct GNUNET_FS_Handle *h, |
1048 | const char *filename) | ||
1048 | { | 1049 | { |
1049 | struct GNUNET_FS_FileInformation *ret; | 1050 | struct GNUNET_FS_FileInformation *ret; |
1050 | struct GNUNET_BIO_ReadHandle *rh; | 1051 | struct GNUNET_BIO_ReadHandle *rh; |
@@ -1726,9 +1727,9 @@ cleanup: | |||
1726 | /** | 1727 | /** |
1727 | * Serialize a download request. | 1728 | * Serialize a download request. |
1728 | * | 1729 | * |
1729 | * @param wh the 'struct GNUNET_BIO_WriteHandle*' | 1730 | * @param wh the `struct GNUNET_BIO_WriteHandle*` |
1730 | * @param dr the 'struct DownloadRequest' | 1731 | * @param dr the the request to write to disk |
1731 | * @return GNUNET_YES on success, GNUNET_NO on error | 1732 | * @return #GNUNET_YES on success, #GNUNET_NO on error |
1732 | */ | 1733 | */ |
1733 | static int | 1734 | static int |
1734 | write_download_request (struct GNUNET_BIO_WriteHandle *wh, | 1735 | write_download_request (struct GNUNET_BIO_WriteHandle *wh, |
@@ -1756,7 +1757,7 @@ write_download_request (struct GNUNET_BIO_WriteHandle *wh, | |||
1756 | * Read a download request tree. | 1757 | * Read a download request tree. |
1757 | * | 1758 | * |
1758 | * @param rh mesh to read from | 1759 | * @param rh mesh to read from |
1759 | * @return value the 'struct DownloadRequest', NULL on error | 1760 | * @return value the download request read from disk, NULL on error |
1760 | */ | 1761 | */ |
1761 | static struct DownloadRequest * | 1762 | static struct DownloadRequest * |
1762 | read_download_request (struct GNUNET_BIO_ReadHandle *rh) | 1763 | read_download_request (struct GNUNET_BIO_ReadHandle *rh) |