Point dial changes

This commit is contained in:
Michiel Broek 2004-01-20 20:02:42 +00:00
parent baa8a4d09f
commit b218f2f63a
2 changed files with 8 additions and 3 deletions

View File

@ -112,7 +112,7 @@ int call(faddr *addr)
/*
* Don't call points, call their boss instead.
*/
addr->point = 0;
// addr->point = 0;
/*
* First check if node is locked, if not lock it immediatly

View File

@ -1320,8 +1320,13 @@ void *scheduler(void)
default: port[0] = '\0';
break;
}
sprintf(opts, "%sf%u.n%u.z%u", port, calllist[call_entry].addr.node, calllist[call_entry].addr.net,
calllist[call_entry].addr.zone);
if (calllist[call_entry].addr.point) {
sprintf(opts, "%sp%u.f%u.n%u.z%u", port, calllist[call_entry].addr.point,
calllist[call_entry].addr.node, calllist[call_entry].addr.net, calllist[call_entry].addr.zone);
} else {
sprintf(opts, "%sf%u.n%u.z%u", port, calllist[call_entry].addr.node, calllist[call_entry].addr.net,
calllist[call_entry].addr.zone);
}
calllist[call_entry].taskpid = launch(cmd, opts, (char *)"mbcico", calllist[call_entry].callmode);
if (calllist[call_entry].taskpid)
calllist[call_entry].calling = TRUE;