summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-19 00:15:50 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-19 00:15:50 +0800
commit3ff5039f02c494a9ad333a3412a89a6f4939458e (patch)
tree455c84eaeb3624cf9c4474369a0230fade0b0647
parentfb55590ccfd65e424ff9948b622e5bd152a513d0 (diff)
downloadpttbbs-3ff5039f02c494a9ad333a3412a89a6f4939458e.tar
pttbbs-3ff5039f02c494a9ad333a3412a89a6f4939458e.tar.gz
pttbbs-3ff5039f02c494a9ad333a3412a89a6f4939458e.tar.bz2
pttbbs-3ff5039f02c494a9ad333a3412a89a6f4939458e.tar.lz
pttbbs-3ff5039f02c494a9ad333a3412a89a6f4939458e.tar.xz
pttbbs-3ff5039f02c494a9ad333a3412a89a6f4939458e.tar.zst
pttbbs-3ff5039f02c494a9ad333a3412a89a6f4939458e.zip
* fix bug: array forgot initialize
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4660 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/register.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/register.c b/mbbsd/register.c
index ce3b1b07..e0ef1609 100644
--- a/mbbsd/register.c
+++ b/mbbsd/register.c
@@ -1636,6 +1636,7 @@ static int
print_regform_entry_localized(const RegformEntry *pre, FILE *fp)
{
char buf[STRLEN * 6];
+ buf[0] = '\0';
concat_regform_entry_localized(pre, buf, sizeof(buf));
fputs(buf, fp);
return 1;