From c512cbd42f8d5e606a9edc0f9e8f4408c7225897 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Tue, 6 Nov 2007 15:39:43 +0000 Subject: Remove FETCHMAIL_DEBUG diversion that couldn't be officially enabled and was prone to symlink attacks. Found by Nico Golde. svn path=/branches/BRANCH_6-3/; revision=5134 --- fetchmail.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'fetchmail.h') diff --git a/fetchmail.h b/fetchmail.h index 605bcb05..107dffc1 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -716,18 +716,6 @@ char *strerror (int); char *stpcpy(char *, const char*); #endif -#ifdef FETCHMAIL_DEBUG -#define exit(e) do { \ - FILE *out; \ - out = fopen("/tmp/fetchmail.log", "a"); \ - fprintf(out, \ - "Exiting fetchmail from file %s, line %d with status %d\n", \ - __FILE__, __LINE__, e); \ - fclose(out); \ - _exit(e); \ - } while(0) -#endif /* FETCHMAIL_DEBUG */ - #ifdef __CYGWIN__ #define ROOT_UID 18 #else /* !__CYGWIN__ */ -- cgit v1.2.3