summaryrefslogtreecommitdiff
path: root/src/plugins/xfer/xfer-dcc.c
diff options
context:
space:
mode:
authorMario Campos <mario-campos@github.com>2023-08-18 09:34:34 -0500
committerSébastien Helleu <flashcode@flashtux.org>2023-09-06 14:11:35 +0200
commit2a40743ed0c8fe728f139895afdb8bd14141e8a9 (patch)
tree53bd66b6b9da5c8b160ac7cef2a289ef343d7a38 /src/plugins/xfer/xfer-dcc.c
parentac8418de8edb77550dda5be88fcdfab136379c52 (diff)
downloadweechat-2a40743ed0c8fe728f139895afdb8bd14141e8a9.zip
xfer: reverse DCC parsing from RtL to LtR.
This makes it easier to handle the optional "token" argument at the (right) end, which will be necessary to support passive DCC. Incidentally, this is RtL parsing order is the reason why you'd get a cryptic "0" address error when attempting to do passive DCC: the "token" argument gets misinterpreted as the "size" argument. Every argument "shifts" over by one, leaving an address (port) of "0".
Diffstat (limited to 'src/plugins/xfer/xfer-dcc.c')
0 files changed, 0 insertions, 0 deletions