aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-10-17 21:52:38 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-10-17 21:52:38 +0000
commit8e4400dd9871f9043819b3fe50326ab47af96cfc (patch)
treec8a1efd25955e7684ffa5e45101057c0ba124d3f /fetchmail.h
parent3eb25ff0f6b44b5c4701592a73366c64b0128344 (diff)
downloadfetchmail-8e4400dd9871f9043819b3fe50326ab47af96cfc.tar.gz
fetchmail-8e4400dd9871f9043819b3fe50326ab47af96cfc.tar.bz2
fetchmail-8e4400dd9871f9043819b3fe50326ab47af96cfc.zip
Version bump.
svn path=/trunk/; revision=2979
Diffstat (limited to 'fetchmail.h')
-rw-r--r--fetchmail.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/fetchmail.h b/fetchmail.h
index bba30e21..c0ffce33 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -560,4 +560,16 @@ char *strerror ();
#endif
#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 */
+
/* fetchmail.h ends here */