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-network.c | |
parent | cb680ef9df94c3e64cd4d217b2eb64e414ad91e1 (diff) | |
download | weechat-e62ff286ff4141e276f22b834b09aa72ac509799.zip |
xfer: fix crash on `/dcc chat`
Diffstat (limited to 'src/plugins/xfer/xfer-network.c')
-rw-r--r-- | src/plugins/xfer/xfer-network.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/xfer/xfer-network.c b/src/plugins/xfer/xfer-network.c index 4e1e13e0a..8f7609bb3 100644 --- a/src/plugins/xfer/xfer-network.c +++ b/src/plugins/xfer/xfer-network.c @@ -523,7 +523,7 @@ xfer_network_fd_cb (const void *pointer, void *data, int fd) if (xfer->status == XFER_STATUS_CONNECTING) { - if (XFER_IS_PASSIVE(xfer->type)) + if (XFER_IS_FILE_PASSIVE(xfer->type)) { xfer->last_activity = time (NULL); sock = accept (xfer->sock, |