summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-26 16:39:07 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-26 16:39:07 +0800
commitc46570a366fb9d9b2854375c52768844bab9c7f1 (patch)
tree1dc74abb95d04f39cc685f07793d4867a7dc9cdf
parentfab81442002b135af4727c037653c83fde3b81d6 (diff)
downloadpttbbs-c46570a366fb9d9b2854375c52768844bab9c7f1.tar
pttbbs-c46570a366fb9d9b2854375c52768844bab9c7f1.tar.gz
pttbbs-c46570a366fb9d9b2854375c52768844bab9c7f1.tar.bz2
pttbbs-c46570a366fb9d9b2854375c52768844bab9c7f1.tar.lz
pttbbs-c46570a366fb9d9b2854375c52768844bab9c7f1.tar.xz
pttbbs-c46570a366fb9d9b2854375c52768844bab9c7f1.tar.zst
pttbbs-c46570a366fb9d9b2854375c52768844bab9c7f1.zip
I am idoit
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@358 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/kaede.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/kaede.c b/mbbsd/kaede.c
index 26d3ac54..e529aa3d 100644
--- a/mbbsd/kaede.c
+++ b/mbbsd/kaede.c
@@ -1,4 +1,4 @@
-/* $Id: kaede.c,v 1.6 2002/06/26 08:37:23 ptt Exp $ */
+/* $Id: kaede.c,v 1.7 2002/06/26 08:39:07 ptt Exp $ */
#include "bbs.h"
char *Ptt_prints(char *str, int mode) {
@@ -58,7 +58,7 @@ int Rename(char* src, char* dst) {
char buf[256];
if(rename(src, dst) == 0)
return 0;
- if(!strchr(src,";") && !strchr(dst,";")) // Ptt 防不正常指令
+ if(!strchr(src,';') && !strchr(dst,';')) // Ptt 防不正常指令
{
sprintf(buf,"/bin/mv %s %s",src,dst);
system(buf);