summaryrefslogtreecommitdiff
path: root/src/plugins/xfer/xfer.h
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-09-14 20:48:58 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-09-14 20:48:58 +0200
commite62ff286ff4141e276f22b834b09aa72ac509799 (patch)
tree36e5ed573ad53c8e62f57da1b163facf7bf1734e /src/plugins/xfer/xfer.h
parentcb680ef9df94c3e64cd4d217b2eb64e414ad91e1 (diff)
downloadweechat-e62ff286ff4141e276f22b834b09aa72ac509799.zip
xfer: fix crash on `/dcc chat`
Diffstat (limited to 'src/plugins/xfer/xfer.h')
-rw-r--r--src/plugins/xfer/xfer.h4
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) || \