Removed some debug logging
This commit is contained in:
parent
fba6ec5c40
commit
e911721e5b
@ -4608,3 +4608,6 @@ v0.33.20 10-Feb-2002
|
|||||||
Will not crash anymore when it needs more then 10 minutes to
|
Will not crash anymore when it needs more then 10 minutes to
|
||||||
create the allfiles and newfiles lists.
|
create the allfiles and newfiles lists.
|
||||||
|
|
||||||
|
mbtask:
|
||||||
|
Removed some debug logging.
|
||||||
|
|
||||||
|
@ -705,9 +705,8 @@ int checktasks(int onsig)
|
|||||||
tasklog('t', "---------------- ------- ----- ---- ----------- ----- --------");
|
tasklog('t', "---------------- ------- ----- ---- ----------- ----- --------");
|
||||||
for (j = 0; j < MAXTASKS; j++)
|
for (j = 0; j < MAXTASKS; j++)
|
||||||
if (strlen(task[j].name))
|
if (strlen(task[j].name))
|
||||||
tasklog('t', "%-16s %s %5d %s %-11d %5d %08x", task[j].name,
|
tasklog('t', "%-16s %s %5d %s %-11d %5d %08x", task[j].name, callmode(task[j].tasktype),
|
||||||
callmode(task[j].tasktype), task[j].pid, task[j].running?"runs":"stop",
|
task[j].pid, task[j].running?"runs":"stop", task[j].status, task[j].rc, task[j].status);
|
||||||
task[j].status, task[j].rc, task[j].status);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (task[i].rc) {
|
switch (task[i].rc) {
|
||||||
@ -1034,8 +1033,6 @@ int ping_send(struct in_addr addr)
|
|||||||
to.sin_addr = addr;
|
to.sin_addr = addr;
|
||||||
SET_SOCKA_LEN4(to);
|
SET_SOCKA_LEN4(to);
|
||||||
if (sendto(isock, &icmpd, ICMP4_ECHO_LEN, 0, (struct sockaddr *)&to, sizeof(to)) == -1) {
|
if (sendto(isock, &icmpd, ICMP4_ECHO_LEN, 0, (struct sockaddr *)&to, sizeof(to)) == -1) {
|
||||||
// if (icmp_errs < ICMP_MAX_ERRS)
|
|
||||||
// tasklog('?', "$icmp ping: sendto()");
|
|
||||||
return -2;
|
return -2;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -237,7 +237,7 @@ int outstat()
|
|||||||
T_window = TRUE;
|
T_window = TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tasklog('o', "T_window=%s, iszmh=%s", T_window?"true":"false", iszmh?"true":"false");
|
// tasklog('o', "T_window=%s, iszmh=%s", T_window?"true":"false", iszmh?"true":"false");
|
||||||
strcpy(flstr,"...... ... ..");
|
strcpy(flstr,"...... ... ..");
|
||||||
/*
|
/*
|
||||||
* If the node has internet and we have internet available, check if we can send
|
* If the node has internet and we have internet available, check if we can send
|
||||||
|
Reference in New Issue
Block a user