diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-09-14 20:48:58 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-09-14 20:48:58 +0200 |
commit | e62ff286ff4141e276f22b834b09aa72ac509799 (patch) | |
tree | 36e5ed573ad53c8e62f57da1b163facf7bf1734e /src/plugins/xfer/xfer.h | |
parent | cb680ef9df94c3e64cd4d217b2eb64e414ad91e1 (diff) | |
download | weechat-e62ff286ff4141e276f22b834b09aa72ac509799.zip |
xfer: fix crash on `/dcc chat`
Diffstat (limited to 'src/plugins/xfer/xfer.h')
-rw-r--r-- | src/plugins/xfer/xfer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/xfer/xfer.h b/src/plugins/xfer/xfer.h index fd213f6a8..554eb4390 100644 --- a/src/plugins/xfer/xfer.h +++ b/src/plugins/xfer/xfer.h @@ -133,8 +133,8 @@ enum t_xfer_hash_status (type == XFER_TYPE_CHAT_SEND)) #define XFER_IS_ACTIVE(type) ((type == XFER_TYPE_FILE_RECV_ACTIVE) || \ (type == XFER_TYPE_FILE_SEND_ACTIVE)) -#define XFER_IS_PASSIVE(type) ((type == XFER_TYPE_FILE_RECV_PASSIVE) || \ - (type == XFER_TYPE_FILE_SEND_PASSIVE)) +#define XFER_IS_FILE_PASSIVE(type) ((type == XFER_TYPE_FILE_RECV_PASSIVE) || \ + (type == XFER_TYPE_FILE_SEND_PASSIVE)) #define XFER_HAS_ENDED(status) ((status == XFER_STATUS_DONE) || \ (status == XFER_STATUS_FAILED) || \ |