From b218f2f63ab05f1a8f1cb520968504f726272cc2 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Tue, 20 Jan 2004 20:02:42 +0000 Subject: [PATCH] Point dial changes --- mbcico/call.c | 2 +- mbtask/mbtask.c | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/mbcico/call.c b/mbcico/call.c index e2df5144..48e51405 100644 --- a/mbcico/call.c +++ b/mbcico/call.c @@ -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 diff --git a/mbtask/mbtask.c b/mbtask/mbtask.c index 2b52b21f..ba164077 100644 --- a/mbtask/mbtask.c +++ b/mbtask/mbtask.c @@ -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;