Enabled IEMSI code in mbcico again
This commit is contained in:
parent
19f536be6e
commit
130d965e47
@ -20,6 +20,8 @@ v0.37.8 14-Sep-2003 - 17-Sep-2003
|
|||||||
Session handshake and EMSI handshake use the general purpose
|
Session handshake and EMSI handshake use the general purpose
|
||||||
timers instead of the ttyio timers. This should prevent invalid
|
timers instead of the ttyio timers. This should prevent invalid
|
||||||
timeouts during zmodem transfers. (bug since 0.37.6).
|
timeouts during zmodem transfers. (bug since 0.37.6).
|
||||||
|
Compiled IEMSI code back in, starts mblogin which is not IEMSI
|
||||||
|
ready yet.
|
||||||
|
|
||||||
|
|
||||||
v0.37.7 09-Sep-2003 - 14-09-2003
|
v0.37.7 09-Sep-2003 - 14-09-2003
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
#include "mbcico.h"
|
#include "mbcico.h"
|
||||||
#include "session.h"
|
#include "session.h"
|
||||||
|
|
||||||
|
#define IEMSI 1
|
||||||
|
|
||||||
int master = 0;
|
int master = 0;
|
||||||
int immediatecall = FALSE;
|
int immediatecall = FALSE;
|
||||||
@ -283,13 +283,15 @@ int main(int argc, char *argv[])
|
|||||||
#ifdef IEMSI
|
#ifdef IEMSI
|
||||||
if (strncasecmp(p, "EMSI_NAKEEC3", 12) == 0) {
|
if (strncasecmp(p, "EMSI_NAKEEC3", 12) == 0) {
|
||||||
|
|
||||||
Syslog('+', "Detected IEMSI client, starting BBS");
|
Syslog('+', "Detected IEMSI client, starting mblogin");
|
||||||
sprintf(temp, "%s/bin/mbsebbs", getenv("MBSE_ROOT"));
|
sprintf(temp, "%s/bin/mblogin", getenv("MBSE_ROOT"));
|
||||||
socket_shutdown(mypid);
|
socket_shutdown(mypid);
|
||||||
|
|
||||||
if (execl(temp, "mbsebbs", (char *)NULL) == -1)
|
if (execl(temp, "mblogin", (char *)NULL) == -1)
|
||||||
perror("FATAL: Error loading BBS!");
|
perror("FATAL: Error loading BBS!");
|
||||||
|
|
||||||
|
InitClient(pw->pw_name, (char *)"mbcico", CFG.location, CFG.logfile,
|
||||||
|
CFG.cico_loglevel, CFG.error_log, CFG.mgrlog, CFG.debuglog);
|
||||||
/*
|
/*
|
||||||
* If this happens, nothing is logged!
|
* If this happens, nothing is logged!
|
||||||
*/
|
*/
|
||||||
@ -298,7 +300,7 @@ int main(int argc, char *argv[])
|
|||||||
free_mem();
|
free_mem();
|
||||||
if (envptr)
|
if (envptr)
|
||||||
free(envptr);
|
free(envptr);
|
||||||
exit(MBERROR_EXEC_FAILED);
|
exit(MBERR_EXEC_FAILED);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if ((strcasecmp(argv[optind],"tsync") == 0) ||
|
if ((strcasecmp(argv[optind],"tsync") == 0) ||
|
||||||
|
Reference in New Issue
Block a user