summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-12 11:03:24 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-12 11:03:24 +0800
commita06ea9d2a57526434090ac255aa46cddd1c3ed52 (patch)
tree022b917f34a8a66f59f58876effe5ecb71c019f5 /mbbsd
parentcfab1250f4ddabd40f721ce8b340c50ebbe52177 (diff)
downloadpttbbs-a06ea9d2a57526434090ac255aa46cddd1c3ed52.tar
pttbbs-a06ea9d2a57526434090ac255aa46cddd1c3ed52.tar.gz
pttbbs-a06ea9d2a57526434090ac255aa46cddd1c3ed52.tar.bz2
pttbbs-a06ea9d2a57526434090ac255aa46cddd1c3ed52.tar.lz
pttbbs-a06ea9d2a57526434090ac255aa46cddd1c3ed52.tar.xz
pttbbs-a06ea9d2a57526434090ac255aa46cddd1c3ed52.tar.zst
pttbbs-a06ea9d2a57526434090ac255aa46cddd1c3ed52.zip
symlink(src, dst) instead of symlink(dst, src)
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2590 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/kaede.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/kaede.c b/mbbsd/kaede.c
index 61a6505f..199fda16 100644
--- a/mbbsd/kaede.c
+++ b/mbbsd/kaede.c
@@ -98,7 +98,7 @@ Link(char *src, char *dst)
{
if (strcmp(src, BBSHOME "/home") == 0)
return 1;
- if (symlink(dst, src) == 0)
+ if (symlink(src, dst) == 0)
return 0;
return Copy(src, dst);