diff options
Diffstat (limited to 'mbbsd/kaede.c')
-rw-r--r-- | mbbsd/kaede.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/kaede.c b/mbbsd/kaede.c index a3005ad3..2f3d6a39 100644 --- a/mbbsd/kaede.c +++ b/mbbsd/kaede.c @@ -1,4 +1,4 @@ -/* $Id: kaede.c,v 1.4 2002/06/06 21:34:11 in2 Exp $ */ +/* $Id: kaede.c,v 1.5 2002/06/22 07:35:44 ptt Exp $ */ #include "bbs.h" char *Ptt_prints(char *str, int mode) { @@ -65,7 +65,7 @@ int Link(char* src, char* dst) { if(strcmp(src, BBSHOME "/home") == 0) return 1; - if(link(src, dst) == 0) + if(symlink(dst, src) == 0) return 0; sprintf(cmd, "/bin/cp -R %s %s", src, dst); |