diff options
author | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-01-30 14:17:12 +0800 |
---|---|---|
committer | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-01-30 14:17:12 +0800 |
commit | 4617eab09ea42b678c3d6d18c635a0dda3d6ed5a (patch) | |
tree | 6e8d0207d1cedf8032ccb94159e50695388eabe7 /innbbsd/echobbslib.c | |
parent | ea44e808f2c7b77c8c92182aef1bd46e90baac23 (diff) | |
download | pttbbs-4617eab09ea42b678c3d6d18c635a0dda3d6ed5a.tar pttbbs-4617eab09ea42b678c3d6d18c635a0dda3d6ed5a.tar.gz pttbbs-4617eab09ea42b678c3d6d18c635a0dda3d6ed5a.tar.bz2 pttbbs-4617eab09ea42b678c3d6d18c635a0dda3d6ed5a.tar.lz pttbbs-4617eab09ea42b678c3d6d18c635a0dda3d6ed5a.tar.xz pttbbs-4617eab09ea42b678c3d6d18c635a0dda3d6ed5a.tar.zst pttbbs-4617eab09ea42b678c3d6d18c635a0dda3d6ed5a.zip |
Use functions from common library.
Reorder extern.h
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4431 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'innbbsd/echobbslib.c')
-rw-r--r-- | innbbsd/echobbslib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/innbbsd/echobbslib.c b/innbbsd/echobbslib.c index b5c23765..44f7739c 100644 --- a/innbbsd/echobbslib.c +++ b/innbbsd/echobbslib.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) @@ -616,7 +616,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); |