Skip to content
Snippets Groups Projects
Commit a0ce3cd7 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Use the user's default download protocol for batch downloads

Oversight probably during the new filebase overhaul in v3.19. Reported by Nelgin.
parent e4f27335
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #3542 passed
...@@ -258,7 +258,7 @@ BOOL sbbs_t::start_batch_download() ...@@ -258,7 +258,7 @@ BOOL sbbs_t::start_batch_download()
file_t f = {{}}; file_t f = {{}};
BOOL result = FALSE; BOOL result = FALSE;
if(batch_file_get(&cfg, ini, filenames[0], &f)) { if(batch_file_get(&cfg, ini, filenames[0], &f)) {
result = sendfile(&f, /* prot: */' ', /* autohang: */true); result = sendfile(&f, useron.prot, /* autohang: */true);
if(result == TRUE) if(result == TRUE)
batch_file_remove(&cfg, useron.number, XFER_BATCH_DOWNLOAD, f.name); batch_file_remove(&cfg, useron.number, XFER_BATCH_DOWNLOAD, f.name);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment