projects
/
capablanca.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
9fef707
)
Fix mamer crash on listmanagers command
author
H.G. Muller
<h.g.muller@hccnet.nl>
Tue, 29 Nov 2011 10:31:48 +0000 (11:31 +0100)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Tue, 29 Nov 2011 10:31:48 +0000 (11:31 +0100)
lasker-2.2.3/bots/mamer/CommandEntry.cc
patch
|
blob
|
history
diff --git
a/lasker-2.2.3/bots/mamer/CommandEntry.cc
b/lasker-2.2.3/bots/mamer/CommandEntry.cc
index
c097030
..
4046358
100644
(file)
--- a/
lasker-2.2.3/bots/mamer/CommandEntry.cc
+++ b/
lasker-2.2.3/bots/mamer/CommandEntry.cc
@@
-230,7
+230,7
@@
int CommandEntry::ListManagers(User *user, param_list params) {
"-----------------", "---", "----", "--------", "",
"-----------------", "---", "----", "--------", "", "\\n");
i=1;
- memset(date, '\0', 64);
+ memset(date, '\0', 16);
gMamer.XServerCom("\n%s %s ", "qtell", user->name);
while(fscanf(theFile, "%s", manager) > 0) {
needToDelete = 0;