summaryrefslogtreecommitdiff
path: root/src/plugins/xfer/xfer.h
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2019-10-05 18:11:39 +0200
committerSébastien Helleu <flashcode@flashtux.org>2019-10-05 18:11:39 +0200
commit3c0bdc18f3f99386f57be4cd8e84f99d465a0b20 (patch)
tree997f196c8f3cae2c00746e3710180aeb18f089a5 /src/plugins/xfer/xfer.h
parent6c23f632b12de9f43026b72626ccbc57cbbd9aa5 (diff)
downloadweechat-3c0bdc18f3f99386f57be4cd8e84f99d465a0b20.zip
xfer: add option xfer.file.download_temporary_suffix with default value ".part" (closes #1237)
Diffstat (limited to 'src/plugins/xfer/xfer.h')
-rw-r--r--src/plugins/xfer/xfer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/xfer/xfer.h b/src/plugins/xfer/xfer.h
index 263b885ff..ce984c458 100644
--- a/src/plugins/xfer/xfer.h
+++ b/src/plugins/xfer/xfer.h
@@ -170,6 +170,9 @@ struct t_xfer
char *unterminated_message; /* beginning of a message */
int file; /* local file (read or write) */
char *local_filename; /* local filename (with path) */
+ char *temp_local_filename; /* local filename filename with */
+ /* temp. suffix (during transfer, */
+ /* for receive file only) */
int filename_suffix; /* suffix (like .1) if renaming file */
unsigned long long pos; /* number of bytes received/sent */
unsigned long long ack; /* number of bytes received OK */