dead code
[apps/madmutt.git] / lib-lib / file.c
index 985015f..b51b1ff 100644 (file)
@@ -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;