From 80def4a36bcc5123fc3da52cc6c24d521232059d Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Fri, 6 Sep 2024 08:23:23 -0400 Subject: [PATCH] spelling: filename Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/plugins/weechat-plugin.h | 2 +- src/plugins/xfer/xfer.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugins/weechat-plugin.h b/src/plugins/weechat-plugin.h index fcacec164..eef46dd4d 100644 --- a/src/plugins/weechat-plugin.h +++ b/src/plugins/weechat-plugin.h @@ -430,7 +430,7 @@ struct t_weechat_plugin /* crypto */ int (*crypto_hash) (const void *data, int data_size, const char *hash_algo, void *hash, int *hash_size); - int (*crypto_hash_file) (const char *fliename, + int (*crypto_hash_file) (const char *filename, const char *hash_algo, void *hash, int *hash_size); int (*crypto_hash_pbkdf2) (const void *data, int data_size, const char *hash_algo, diff --git a/src/plugins/xfer/xfer.h b/src/plugins/xfer/xfer.h index 9fe1d2503..f702998f2 100644 --- a/src/plugins/xfer/xfer.h +++ b/src/plugins/xfer/xfer.h @@ -182,9 +182,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) */ + char *temp_local_filename; /* local 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 */