summaryrefslogtreecommitdiffstats
path: root/mbbsd/kaede.c
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-03-12 13:42:52 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-03-12 13:42:52 +0800
commit786d63f533b3cd2ff6cda0ef1797fdace352561c (patch)
treeb654b75bfe80b0c2de54d92842958cca7ecde696 /mbbsd/kaede.c
parent282e3972e1b6cb2345dd9c1281c5d3a2eb5614ca (diff)
downloadpttbbs-786d63f533b3cd2ff6cda0ef1797fdace352561c.tar
pttbbs-786d63f533b3cd2ff6cda0ef1797fdace352561c.tar.gz
pttbbs-786d63f533b3cd2ff6cda0ef1797fdace352561c.tar.bz2
pttbbs-786d63f533b3cd2ff6cda0ef1797fdace352561c.tar.lz
pttbbs-786d63f533b3cd2ff6cda0ef1797fdace352561c.tar.xz
pttbbs-786d63f533b3cd2ff6cda0ef1797fdace352561c.tar.zst
pttbbs-786d63f533b3cd2ff6cda0ef1797fdace352561c.zip
Remove unused strcpy().
Add bbsmail into Makefile variable CPROG_WITHOUT_UTIL git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1588 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/kaede.c')
-rw-r--r--mbbsd/kaede.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mbbsd/kaede.c b/mbbsd/kaede.c
index 486e5aef..9023557d 100644
--- a/mbbsd/kaede.c
+++ b/mbbsd/kaede.c
@@ -58,8 +58,7 @@ Ptt_prints(char *str, int mode)
}
}
strbuf[w] = 0;
- strcpy(str, strbuf);
- strip_ansi(str, str, mode);
+ strip_ansi(str, strbuf, mode);
return str;
}