Removed some debug logging

This commit is contained in:
Michiel Broek 2002-02-12 22:42:09 +00:00
parent fba6ec5c40
commit e911721e5b
3 changed files with 81 additions and 81 deletions

View File

@ -4608,3 +4608,6 @@ v0.33.20 10-Feb-2002
Will not crash anymore when it needs more then 10 minutes to
create the allfiles and newfiles lists.
mbtask:
Removed some debug logging.

View File

@ -705,9 +705,8 @@ int checktasks(int onsig)
tasklog('t', "---------------- ------- ----- ---- ----------- ----- --------");
for (j = 0; j < MAXTASKS; j++)
if (strlen(task[j].name))
tasklog('t', "%-16s %s %5d %s %-11d %5d %08x", task[j].name,
callmode(task[j].tasktype), task[j].pid, task[j].running?"runs":"stop",
task[j].status, task[j].rc, task[j].status);
tasklog('t', "%-16s %s %5d %s %-11d %5d %08x", task[j].name, callmode(task[j].tasktype),
task[j].pid, task[j].running?"runs":"stop", task[j].status, task[j].rc, task[j].status);
}
switch (task[i].rc) {
@ -1034,8 +1033,6 @@ int ping_send(struct in_addr addr)
to.sin_addr = addr;
SET_SOCKA_LEN4(to);
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 0;

View File

@ -237,7 +237,7 @@ int outstat()
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,"...... ... ..");
/*
* If the node has internet and we have internet available, check if we can send