summaryrefslogtreecommitdiffstats
path: root/innbbsd/bbslib.c
diff options
context:
space:
mode:
Diffstat (limited to 'innbbsd/bbslib.c')
-rw-r--r--innbbsd/bbslib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/innbbsd/bbslib.c b/innbbsd/bbslib.c
index d3116317..3ec5cf6d 100644
--- a/innbbsd/bbslib.c
+++ b/innbbsd/bbslib.c
@@ -243,7 +243,7 @@ initial_bbs(char *outgoing)
}
while (fscanf(FN, "%s", MYBBSID) != EOF);
fclose(FN);
- if (!isdir(fileglue("%s/out.going", BBSHOME))) {
+ if (!dashd(fileglue("%s/out.going", BBSHOME))) {
mkdir((char *)fileglue("%s/out.going", BBSHOME), 0750);
}
if (NONENEWSFEEDS == 0)
@@ -617,7 +617,7 @@ myrealloc(void *optr, int size)
void
testandmkdir(char *dir)
{
- if (!isdir(dir)) {
+ if (!dashd(dir)) {
char path[MAXPATHLEN + 12];
sprintf(path, "mkdir -p %s", dir);
system(path);