Changes for points calling
This commit is contained in:
parent
b218f2f63a
commit
e38e4b330c
14
ChangeLog
14
ChangeLog
@ -2,11 +2,22 @@ $Id$
|
|||||||
|
|
||||||
v0.39.7 14-Jan-2004
|
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:
|
libcommon.a:
|
||||||
In execute and execsh on Linux systems sync() is called before
|
In execute and execsh on Linux systems sync() is called before
|
||||||
and after running the external program to make sure diskbuffers
|
and after running the external program to make sure diskbuffers
|
||||||
are committed.
|
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:
|
mbfido:
|
||||||
Removed sync calls that are now in execute.
|
Removed sync calls that are now in execute.
|
||||||
|
|
||||||
@ -16,6 +27,9 @@ v0.39.7 14-Jan-2004
|
|||||||
mbdiff:
|
mbdiff:
|
||||||
Removed sync calls that are now in execute.
|
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
|
v0.39.6 11-Jan-2004 - 14-Jan-2004
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* Purpose ...............: Fidonet mailer
|
* Purpose ...............: Fidonet mailer
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2003
|
* Copyright (C) 1997-2004
|
||||||
*
|
*
|
||||||
* Michiel Broek FIDO: 2:280/2802
|
* Michiel Broek FIDO: 2:280/2802
|
||||||
* Beekmansbos 10
|
* Beekmansbos 10
|
||||||
@ -109,11 +109,6 @@ int call(faddr *addr)
|
|||||||
char *p, temp[81];
|
char *p, temp[81];
|
||||||
unsigned long cmmask;
|
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
|
* First check if node is locked, if not lock it immediatly
|
||||||
* or stop further waste of time and logfile space.
|
* or stop further waste of time and logfile space.
|
||||||
@ -126,7 +121,17 @@ int call(faddr *addr)
|
|||||||
|
|
||||||
if ((nlent = getnlent(addr)) == NULL) {
|
if ((nlent = getnlent(addr)) == NULL) {
|
||||||
WriteError("Cannot call %s: fatal in nodelist lookup", ascfnode(addr, 0x1f));
|
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);
|
nodeulock(addr, mypid);
|
||||||
return MBERR_NODE_NOT_IN_LIST;
|
return MBERR_NODE_NOT_IN_LIST;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user