Skip to content
Snippets Groups Projects
Commit f4ffbe80 authored by deuce's avatar deuce
Browse files

Fix generation of .bsy/.csy file names.

Re-populate the address list with 5D addresses... binkp.js fills it with
4D ones.
parent 55269be2
Branches
Tags
No related merge requests found
......@@ -22,8 +22,8 @@ load("fidocfg.js");
function lock_flow(file, csy)
{
var ret = {
bsy:new File(file.replace(/\.*?$/, '.bsy')),
csy:new File(file.replace(/\.*?$/, '.csy'))
bsy:new File(file.replace(/\..*?$/, '.bsy')),
csy:new File(file.replace(/\..*?$/, '.csy'))
};
// Takes ownership of a lockfile if it's more than six hours old.
......@@ -364,6 +364,10 @@ function callout(addr, scfg)
bp.default_domain = myaddr.domain;
bp.want_callback = callout_want_callback;
// We can't use the defaults since the defaults are only 4D addresses.
bp.addr_list = [];
system.fido_addr_list.forEach(function(faddr){bp.addr_list.push(FIDO.parse_addr(faddr, this.default_zone, 'fidonet'));}, this);
// We won't add files until the auth finishes...
success = bp.connect(addr, bp.cb_data.binkitpw, callout_auth_cb, port);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment