aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.h
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2007-11-06 15:39:43 +0000
committerMatthias Andree <matthias.andree@gmx.de>2007-11-06 15:39:43 +0000
commitc512cbd42f8d5e606a9edc0f9e8f4408c7225897 (patch)
tree3b04dbff5b025bcd40e0a4dde1e9140bdd94acbb /fetchmail.h
parenta45ed91dc4f82c44a14554a1723a3a9a697455b5 (diff)
downloadfetchmail-c512cbd42f8d5e606a9edc0f9e8f4408c7225897.tar.gz
fetchmail-c512cbd42f8d5e606a9edc0f9e8f4408c7225897.tar.bz2
fetchmail-c512cbd42f8d5e606a9edc0f9e8f4408c7225897.zip
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
Diffstat (limited to 'fetchmail.h')
-rw-r--r--fetchmail.h12
1 files changed, 0 insertions, 12 deletions
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__ */