projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use safer p_clear when possible.
[apps/madmutt.git]
/
buffy.c
diff --git
a/buffy.c
b/buffy.c
index
09b281a
..
11e2b0d
100644
(file)
--- a/
buffy.c
+++ b/
buffy.c
@@
-60,7
+60,7
@@
static int fseeko_last_message (FILE * f)
int bytes_read;
int i; /* Index into `buffer' for scanning. */
-
memset (buffer, 0, sizeof (buffer)
);
+
p_clear(buffer, 1
);
fseeko (f, 0, SEEK_END);
pos = ftello (f);