summaryrefslogtreecommitdiffstats
path: root/mbbsd/name.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-11-06 21:33:10 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-11-06 21:33:10 +0800
commit9ae727ce327adc056b185798a1ccca256ae50860 (patch)
treec7989e445a1f0776c4b80af7202b672d7fe79677 /mbbsd/name.c
parent54f79e7cc5079c498fa9d5591c0ae3550a5730aa (diff)
downloadpttbbs-9ae727ce327adc056b185798a1ccca256ae50860.tar
pttbbs-9ae727ce327adc056b185798a1ccca256ae50860.tar.gz
pttbbs-9ae727ce327adc056b185798a1ccca256ae50860.tar.bz2
pttbbs-9ae727ce327adc056b185798a1ccca256ae50860.tar.lz
pttbbs-9ae727ce327adc056b185798a1ccca256ae50860.tar.xz
pttbbs-9ae727ce327adc056b185798a1ccca256ae50860.tar.zst
pttbbs-9ae727ce327adc056b185798a1ccca256ae50860.zip
comment todo
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2319 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/name.c')
-rw-r--r--mbbsd/name.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/name.c b/mbbsd/name.c
index a012ab93..9253a843 100644
--- a/mbbsd/name.c
+++ b/mbbsd/name.c
@@ -374,6 +374,7 @@ usercomplete(char *prompt, char *data)
int clearbot = NA, count = 0, morenum = 0;
char ch;
+ /* TODO 節省記憶體. (不過這個 function 不常占記憶體...) */
cwbuf = malloc(MAX_USERS * (IDLEN + 1));
cwlist = u_namearray((arrptr) cwbuf, &cwnum, "");
temp = data;