summaryrefslogtreecommitdiff
path: root/src/plugins/xfer/xfer-file.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-12-13 18:51:44 +0100
committerSebastien Helleu <flashcode@flashtux.org>2012-12-13 18:51:44 +0100
commit7d34812f1cd091b70395808381469c6c1f5c659a (patch)
tree8dd82177eaad95dc216bf1b68926b8398440a198 /src/plugins/xfer/xfer-file.c
parent9db5682186de96b1deeb48e76887df7c74e77036 (diff)
downloadweechat-7d34812f1cd091b70395808381469c6c1f5c659a.zip
core: reformat comments for functions
Diffstat (limited to 'src/plugins/xfer/xfer-file.c')
-rw-r--r--src/plugins/xfer/xfer-file.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/plugins/xfer/xfer-file.c b/src/plugins/xfer/xfer-file.c
index f56f7a2a4..e8338e010 100644
--- a/src/plugins/xfer/xfer-file.c
+++ b/src/plugins/xfer/xfer-file.c
@@ -39,8 +39,11 @@
/*
- * xfer_file_resume: resume a download
- * return 1 if ok, 0 if not resumable
+ * Resumes a download.
+ *
+ * Returns:
+ * 1: OK
+ * 0: not resumable
*/
int
@@ -70,9 +73,10 @@ xfer_file_resume (struct t_xfer *xfer, const char *filename)
}
/*
- * xfer_file_find_filename: find local filename for a xfer
- * if type if file/recv, add a suffix (like .1) if needed
- * if download is resumable, set "start_resume" to good value
+ * Searches for local filename for a xfer.
+ *
+ * If type is file/recv, adds a suffix (like .1) if needed.
+ * If download is resumable, sets "start_resume" to good value.
*/
void
@@ -169,7 +173,7 @@ xfer_file_find_filename (struct t_xfer *xfer)
}
/*
- * xfer_file_calculate_speed: calculate xfer speed (for files only)
+ * Calculates xfer speed (for files only).
*/
void