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 */