diff --git a/ChangeLog b/ChangeLog index b5ee296b..ec9e3294 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,11 +2,22 @@ $Id$ v0.39.7 14-Jan-2004 + remark: + Calling points is availbale now, but I know in the past that I + changed it to allways call the boss. That was from the time + that mbtask didn't exist. It is possible that something is + broken now, please report such situations. + libcommon.a: In execute and execsh on Linux systems sync() is called before and after running the external program to make sure diskbuffers are committed. + mbcico: + Removed the check to disable calling points. + Added a check to see if we get a URL to call other systems. + If nodelist info fails, increase error counter in steps of 10. + mbfido: Removed sync calls that are now in execute. @@ -16,6 +27,9 @@ v0.39.7 14-Jan-2004 mbdiff: Removed sync calls that are now in execute. + mbtask: + Will call points if a call method is available. + v0.39.6 11-Jan-2004 - 14-Jan-2004 diff --git a/mbcico/call.c b/mbcico/call.c index 48e51405..7881eed8 100644 --- a/mbcico/call.c +++ b/mbcico/call.c @@ -4,7 +4,7 @@ * Purpose ...............: Fidonet mailer * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -109,11 +109,6 @@ int call(faddr *addr) char *p, temp[81]; unsigned long cmmask; - /* - * Don't call points, call their boss instead. - */ -// addr->point = 0; - /* * First check if node is locked, if not lock it immediatly * or stop further waste of time and logfile space. @@ -126,7 +121,17 @@ int call(faddr *addr) if ((nlent = getnlent(addr)) == NULL) { WriteError("Cannot call %s: fatal in nodelist lookup", ascfnode(addr, 0x1f)); - putstatus(addr,0,MBERR_NODE_NOT_IN_LIST); + putstatus(addr,10,MBERR_NODE_NOT_IN_LIST); + nodeulock(addr, mypid); + return MBERR_NODE_NOT_IN_LIST; + } + + /* + * Check if we got a URL to make the call. + */ + if (nlent->url == NULL) { + WriteError("Cannot call %s: no dialmethod available in nodelist", ascfnode(addr, 0x1f)); + putstatus(addr,10,MBERR_NODE_NOT_IN_LIST); nodeulock(addr, mypid); return MBERR_NODE_NOT_IN_LIST; }