X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-lib%2Ffile.c;h=b51b1ffb971ba0d63ae53e1e76851f79a91fd890;hb=24a996896edb7b7fc8f5fd5950a07c4a52a42d05;hp=985015f0da26fb904e350b4f4fef0017d8481d8b;hpb=ac813896ca32d850febc2d95065ac4fa040f11f9;p=apps%2Fmadmutt.git diff --git a/lib-lib/file.c b/lib-lib/file.c index 985015f..b51b1ff 100644 --- a/lib-lib/file.c +++ b/lib-lib/file.c @@ -37,7 +37,6 @@ #include "mem.h" #include "str.h" #include "file.h" -#include "debug.h" #ifndef O_NOFOLLOW # define O_NOFOLLOW 0 @@ -75,7 +74,6 @@ int safe_open(const char *path, int flags) if (lstat (path, &osb) < 0 || fstat(fd, &nsb) < 0 || compare_stat(&osb, &nsb) == -1) { - debug_print(1, ("%s is a symlink!\n", path)); close(fd); return -1; } @@ -328,7 +326,6 @@ int mutt_copy_bytes(FILE *in, FILE *out, ssize_t size) if ((chunk = fread(buf, 1, chunk, in)) < 1) break; if (fwrite(buf, 1, chunk, out) != chunk) { - debug_print(1, ("fwrite() returned short byte count\n")); return -1; } size -= chunk;