summaryrefslogtreecommitdiff
path: root/src/plugins/xfer/xfer-network.c
diff options
context:
space:
mode:
authorMario Campos <mario-campos@github.com>2023-08-18 10:07:23 -0500
committerSébastien Helleu <flashcode@flashtux.org>2023-09-06 14:11:35 +0200
commit23d70b5101f8a8ca9cac92e25b783c8259ab14df (patch)
treec486cd43628dfe2e37949aa1cdbdb1ec010c2b4d /src/plugins/xfer/xfer-network.c
parent2a40743ed0c8fe728f139895afdb8bd14141e8a9 (diff)
downloadweechat-23d70b5101f8a8ca9cac92e25b783c8259ab14df.zip
xfer: add and identify active/passive xfer types.
Before making any significant changes, let's identify the existing xfer types by either active or passive.
Diffstat (limited to 'src/plugins/xfer/xfer-network.c')
-rw-r--r--src/plugins/xfer/xfer-network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/xfer/xfer-network.c b/src/plugins/xfer/xfer-network.c
index 5ba39b4bf..02b0991d2 100644
--- a/src/plugins/xfer/xfer-network.c
+++ b/src/plugins/xfer/xfer-network.c
@@ -498,7 +498,7 @@ xfer_network_fd_cb (const void *pointer, void *data, int fd)
if (xfer->status == XFER_STATUS_CONNECTING)
{
- if (xfer->type == XFER_TYPE_FILE_SEND)
+ if (xfer->type == XFER_TYPE_FILE_SEND_PASSIVE)
{
xfer->last_activity = time (NULL);
sock = accept (xfer->sock,