projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move debug.c
[apps/madmutt.git]
/
lib-lib
/
file.c
diff --git
a/lib-lib/file.c
b/lib-lib/file.c
index
36d34a3
..
22bb68c
100644
(file)
--- a/
lib-lib/file.c
+++ b/
lib-lib/file.c
@@
-37,8
+37,7
@@
#include "mem.h"
#include "str.h"
#include "file.h"
#include "mem.h"
#include "str.h"
#include "file.h"
-
-#include "../lib/debug.h"
+#include "debug.h"
#ifndef O_NOFOLLOW
# define O_NOFOLLOW 0
#ifndef O_NOFOLLOW
# define O_NOFOLLOW 0
@@
-208,7
+207,7
@@
void mutt_unlink(const char *s)
char buf[BUFSIZ];
unlink(s);
char buf[BUFSIZ];
unlink(s);
- p_clear(buf,
size
of(buf));
+ p_clear(buf,
count
of(buf));
while (sb.st_size > 0) {
fwrite(buf, 1, MIN(ssizeof(buf), sb.st_size), f);
sb.st_size -= MIN(ssizeof(buf), sb.st_size);
while (sb.st_size > 0) {
fwrite(buf, 1, MIN(ssizeof(buf), sb.st_size), f);
sb.st_size -= MIN(ssizeof(buf), sb.st_size);