From 0ec292293e16365a7cf8e66acdbff2c9cf0cec41 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sun, 19 Jan 2003 11:30:27 +0000 Subject: [PATCH] Extra debug logs, added Spanish translations --- ChangeLog | 3 +++ examples/Makefile | 14 ++++++++++++-- mbtask/outstat.c | 7 ++++--- 3 files changed, 19 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 45ec8b83..0890a317 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,6 +14,9 @@ v0.37.01 14-Jan-2003. Make sure you have a copy of the previous sources available if you need to downgrade. + mbtask: + Added debug logging to find some errors. + v0.37.00 26-Dec-2002 - 14-Jan-2003 diff --git a/examples/Makefile b/examples/Makefile index a94cf906..ba9df041 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -7,8 +7,10 @@ SRCS = endian.c HDRS = endian.h OBJS = endian.o OTHER = Makefile header.txt footer.txt menus-le.tar menus-be.tar \ - txtfiles-en.tar templates-en.tar templates-es.tar templates-de.tar \ - templates-nl.tar txtfiles-es.tar + txtfiles-en.tar templates-en.tar \ + txtfiles-es.tar templates-es.tar \ + templates-de.tar \ + templates-nl.tar ##################################################################################### @@ -43,6 +45,14 @@ install: all tar xfC templates-en.tar ${PREFIX}/english/macro ; \ echo "Installed default English macro files" ; \ fi + @if [ ! -f ${PREFIX}/spanish/txtfiles/main.ans ]; then \ + tar xfC txtfiles-es.tar ${PREFIX}/spanish/txtfiles ; \ + echo "Installed default Spanish txtfiles" ; \ + fi + @if [ ! -f ${PREFIX}/spanish/macro/html.tic ]; then \ + tar xfC templates-es.tar ${PREFIX}/spanish/macro ; \ + echo "Installed default Spanish macro files" ; \ + fi @if [ ! -f ${PREFIX}/german/macro/html.tic ]; then \ tar xfC templates-de.tar ${PREFIX}/german/macro ; \ echo "Installed default German macro files" ; \ diff --git a/mbtask/outstat.c b/mbtask/outstat.c index 73894e7d..245d9e5b 100644 --- a/mbtask/outstat.c +++ b/mbtask/outstat.c @@ -334,8 +334,8 @@ int outstat() } rc = load_node(tmp->addr); -// Syslog('o', "Load node %s rc=%s, NoCall=%s, NoTCP=%s", ascfnode(tmp->addr, 0x0f), rc?"true":"false", -// nodes.NoCall?"True":"False", nodes.NoTCP?"True":"False"); + Syslog('o', "Load node %s rc=%s, NoCall=%s, NoTCP=%s", fido2str(tmp->addr, 0x0f), rc?"true":"false", + nodes.NoCall?"True":"False", (itnmask + ibnmask + ifcmask)?"False":"True"); /* * Zone Mail Hours, only use Fidonet Hours. @@ -395,6 +395,7 @@ int outstat() else tmin = 30; sprintf(be, "%02d:%02d", thour, tmin); + Syslog('o', "Setting next hour for Txx node at %s", be); set_next(thour, tmin); if (strcmp(as, be) > 0) { /* @@ -410,7 +411,7 @@ int outstat() T_window = TRUE; } } -// Syslog('o', "T_window=%s, iszmh=%s", T_window?"true":"false", iszmh?"true":"false"); + Syslog('o', "T_window=%s, iszmh=%s", T_window?"true":"false", iszmh?"true":"false"); strcpy(flstr,"...... .... .."); /*