Upgraded version, added debug logfile
This commit is contained in:
@@ -174,7 +174,8 @@ int main(int argc, char **argv)
|
||||
|
||||
ProgName();
|
||||
pw = getpwuid(getuid());
|
||||
InitClient(pw->pw_name, (char *)"mball", CFG.location, CFG.logfile, CFG.util_loglevel, CFG.error_log, CFG.mgrlog);
|
||||
InitClient(pw->pw_name, (char *)"mball", CFG.location, CFG.logfile,
|
||||
CFG.util_loglevel, CFG.error_log, CFG.mgrlog, CFG.debuglog);
|
||||
|
||||
Syslog(' ', " ");
|
||||
Syslog(' ', "MBALL v%s", VERSION);
|
||||
|
@@ -104,7 +104,7 @@ int main(int argc, char **argv)
|
||||
*/
|
||||
do_quiet = TRUE;
|
||||
InitClient((char *)"Unknown", (char *)"mbnewusr", (char *)"Unknown",
|
||||
CFG.logfile, CFG.bbs_loglevel, CFG.error_log, CFG.mgrlog);
|
||||
CFG.logfile, CFG.bbs_loglevel, CFG.error_log, CFG.mgrlog, CFG.debuglog);
|
||||
IsDoing("Loging in");
|
||||
|
||||
Syslog(' ', " ");
|
||||
|
@@ -101,7 +101,8 @@ int main(int argc, char **argv)
|
||||
* Initialize this client with the server.
|
||||
*/
|
||||
do_quiet = TRUE;
|
||||
InitClient(sUnixName, (char *)"mbsebbs", (char *)"Unknown", CFG.logfile, CFG.bbs_loglevel, CFG.error_log, CFG.mgrlog);
|
||||
InitClient(sUnixName, (char *)"mbsebbs", (char *)"Unknown", CFG.logfile,
|
||||
CFG.bbs_loglevel, CFG.error_log, CFG.mgrlog, CFG.debuglog);
|
||||
IsDoing("Loging in");
|
||||
|
||||
Syslog(' ', " ");
|
||||
|
@@ -151,7 +151,8 @@ int main(int argc, char **argv)
|
||||
|
||||
ProgName();
|
||||
pw = getpwuid(getuid());
|
||||
InitClient(pw->pw_name, (char *)"mbstat", CFG.location, CFG.logfile, CFG.util_loglevel, CFG.error_log, CFG.mgrlog);
|
||||
InitClient(pw->pw_name, (char *)"mbstat", CFG.location, CFG.logfile,
|
||||
CFG.util_loglevel, CFG.error_log, CFG.mgrlog, CFG.debuglog);
|
||||
usleep(1);
|
||||
|
||||
Syslog(' ', " ");
|
||||
|
@@ -98,7 +98,8 @@ int main(int argc, char **argv)
|
||||
|
||||
ProgName();
|
||||
pw = getpwuid(getuid());
|
||||
InitClient(pw->pw_name, (char *)"mbuser", CFG.location, CFG.logfile, CFG.util_loglevel, CFG.error_log, CFG.mgrlog);
|
||||
InitClient(pw->pw_name, (char *)"mbuser", CFG.location, CFG.logfile,
|
||||
CFG.util_loglevel, CFG.error_log, CFG.mgrlog, CFG.debuglog);
|
||||
Syslog(' ', " ");
|
||||
Syslog(' ', "MBUSER v%s", VERSION);
|
||||
Syslog(' ', cmd);
|
||||
|
Reference in New Issue
Block a user