summaryrefslogtreecommitdiffstats
path: root/innbbsd/innbbsd.c
diff options
context:
space:
mode:
authorwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-01-30 14:17:12 +0800
committerwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-01-30 14:17:12 +0800
commit4617eab09ea42b678c3d6d18c635a0dda3d6ed5a (patch)
tree6e8d0207d1cedf8032ccb94159e50695388eabe7 /innbbsd/innbbsd.c
parentea44e808f2c7b77c8c92182aef1bd46e90baac23 (diff)
downloadpttbbs-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/innbbsd.c')
-rw-r--r--innbbsd/innbbsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/innbbsd/innbbsd.c b/innbbsd/innbbsd.c
index f43789d2..fc3625ad 100644
--- a/innbbsd/innbbsd.c
+++ b/innbbsd/innbbsd.c
@@ -85,7 +85,7 @@ void
testandmkdir(dir)
char *dir;
{
- if (!isdir(dir)) {
+ if (!dashd(dir)) {
char path[MAXPATHLEN + 12];
sprintf(path, "mkdir -p %s", dir);
system(path);