log filename(line) in exit_cleanup() to make tracking down problems
[rsync/rsync.git] / rsync.h
diff --git a/rsync.h b/rsync.h
index 53b1c31..5ea5301 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -484,3 +484,4 @@ size_t strlcpy(char *d, const char *s, size_t bufsize);
 size_t strlcat(char *d, const char *s, size_t bufsize);
 #endif
 
+#define exit_cleanup(code) _exit_cleanup(code, __FILE__, __LINE__)