Updated error codes in outbound status

This commit is contained in:
Michiel Broek 2002-12-05 15:30:35 +00:00
parent 2cf777e8a8
commit 91868bcec7
2 changed files with 20 additions and 13 deletions

View File

@ -18,6 +18,7 @@ v0.35.06
for each file! It will update the filenames on disk to have for each file! It will update the filenames on disk to have
both short and long filenames. Just ignore the errors but check both short and long filenames. Just ignore the errors but check
for real deleted files. for real deleted files.
Now stop mbtask and restart it.
Start the bbs again (mbstat open). Start the bbs again (mbstat open).
Check new settings in nodes setup, screen 6, items 9 and 10. Check new settings in nodes setup, screen 6, items 9 and 10.
Check TIC magic records (menu 10.4), all filenames tested are Check TIC magic records (menu 10.4), all filenames tested are
@ -91,6 +92,10 @@ v0.35.06
Added setup switches in nodes setup, files, to toggle sending Added setup switches in nodes setup, files, to toggle sending
advanced seen-by lines and the To line in ticfiles. advanced seen-by lines and the To line in ticfiles.
mbtask:
The outbound status didn't show the new error codes.
v0.35.05 19-Oct-2002 - 13-Nov-2002. v0.35.05 19-Oct-2002 - 13-Nov-2002.
upgrade: upgrade:

View File

@ -31,6 +31,7 @@
#include "../config.h" #include "../config.h"
#include "libs.h" #include "libs.h"
#include "../lib/structs.h" #include "../lib/structs.h"
#include "../lib/mberrors.h"
#include "taskutil.h" #include "taskutil.h"
#include "taskstat.h" #include "taskstat.h"
#include "scanout.h" #include "scanout.h"
@ -139,19 +140,20 @@ void set_next(int hour, int min)
char *callstatus(int status) char *callstatus(int status)
{ {
switch (status) { switch (status) {
case 0: return (char *)"Ok "; case MBERR_OK: return (char *)"Ok ";
case 1: return (char *)"tty err"; case MBERR_TTYIO_ERROR: return (char *)"tty err";
case 2: return (char *)"No conn"; case MBERR_NO_CONNECTION: return (char *)"No conn";
case 3: return (char *)"Mdm err"; case MBERR_MODEM_ERROR: return (char *)"Mdm err";
case 4: return (char *)"Locked "; case MBERR_NODE_LOCKED: return (char *)"Locked ";
case 5: return (char *)"unknown"; case MBERR_UNKNOWN_SESSION: return (char *)"unknown";
case 6: return (char *)"Unlist "; case MBERR_NODE_NOT_IN_LIST: return (char *)"Unlist ";
case 7: return (char *)"error 7"; case MBERR_NODE_MAY_NOT_CALL: return (char *)"Forbid ";
case 8: return (char *)"error 8"; case MBERR_FTRANSFER: return (char *)"Transf.";
case 9: return (char *)"No tty "; case MBERR_NO_PORT_AVAILABLE: return (char *)"No tty ";
case 10: return (char *)"No ZMH "; case MBERR_NOT_ZMH: return (char *)"No ZMH ";
case 30: return (char *)"Badsess"; case MBERR_SESSION_ERROR: return (char *)"Badsess";
default: return (char *)"ERROR "; default: tasklog('-', "callstatus(%d), unknown", status);
return (char *)"ERROR ";
} }
} }