projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
move hash.[hc] into lib-lib/
[apps/madmutt.git]
/
alias.c
diff --git
a/alias.c
b/alias.c
index
1ef818e
..
e287551
100644
(file)
--- a/
alias.c
+++ b/
alias.c
@@
-403,7
+403,7
@@
int mutt_alias_complete (char *s, size_t buflen)
#define min(a,b) ((a<b)?a:b)
if (s[0] != 0) { /* avoid empty string as strstr argument */
-
memset (bestname, 0, sizeof
(bestname));
+
p_clear(bestname, sizeof
(bestname));
while (a) {
if (a->name && strstr (a->name, s) == a->name) {