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

If we're unable to get the lock, don't attempt to connect.

Reported by Android8675... Thanks!
parent c4d816e7
No related branches found
No related tags found
No related merge requests found
......@@ -895,7 +895,9 @@ function poll_node(addr_str, scfg, ftnd, bicfg, myaddr)
var addr = FIDO.parse_addr(addr_str, 1, 'fidonet');
if ((lock_files = lock_flow(outbound_root(addr, scfg, ftnd)+addr.flo_outbound(myaddr.zone))) !== undefined) {
if ((lock_files = lock_flow(outbound_root(addr, scfg, ftnd)+addr.flo_outbound(myaddr.zone))) === undefined)
return;
else {
if (check_held(addr, scfg, ftnd, myaddr)) {
unlock_flow(lock_files);
return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment