Updates for mbtask and mbnntp
This commit is contained in:
@@ -401,14 +401,11 @@ void add_path(char *lpath)
|
||||
return;
|
||||
}
|
||||
|
||||
rpath = calloc(PATH_MAX, sizeof(char));
|
||||
mbt_realpath(lpath, rpath);
|
||||
Syslog('d', "realpath %s", MBSE_SS(rpath));
|
||||
rpath = calloc(PATH_MAX, sizeof(char));
|
||||
mbt_realpath(lpath, rpath);
|
||||
|
||||
if (lstat(rpath, &sb) == 0) {
|
||||
|
||||
Syslog('d', "add_path(%s)", rpath);
|
||||
|
||||
if (S_ISDIR(sb.st_mode)) {
|
||||
|
||||
#if defined(__linux__)
|
||||
@@ -687,9 +684,9 @@ void *disk_thread(void)
|
||||
disk_run = FALSE;
|
||||
Syslog('+', "Disk thread stopped");
|
||||
pthread_exit(NULL);
|
||||
#if defined(__NetBSD__)
|
||||
|
||||
return NULL;
|
||||
#if defined(__NetBSD__)
|
||||
return NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@@ -489,7 +489,7 @@ char *reg_fre(void)
|
||||
if (reginfo[i].pid) {
|
||||
if ((!strncmp(reginfo[i].prg, "mbsebbs", 7)) ||
|
||||
(!strncmp(reginfo[i].prg, "mbnewusr", 8)) ||
|
||||
(!strncmp(reginfo[i].prg, "mbftpd", 6)))
|
||||
(!strncmp(reginfo[i].prg, "mbnntp", 6)))
|
||||
users++;
|
||||
|
||||
if ((!strncmp(reginfo[i].prg, "mbfido", 6)) ||
|
||||
|
Reference in New Issue
Block a user