aboutsummaryrefslogtreecommitdiff
path: root/src/or/microdesc.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-03-13 10:42:58 -0400
committerNick Mathewson <nickm@torproject.org>2013-03-13 10:42:58 -0400
commitadfc3de83308982f91c88e1e6c68dc37d2467746 (patch)
tree5c1ca9108c00b20a88ed6365f42406f488762a8d /src/or/microdesc.h
parent051b1e8ac4114fb23904cdf8dead72d585904e0a (diff)
downloadtor-adfc3de83308982f91c88e1e6c68dc37d2467746.tar.gz
tor-adfc3de83308982f91c88e1e6c68dc37d2467746.zip
Log fname:lineno in log messages for #7164
This should help us track down #7164 at last.
Diffstat (limited to 'src/or/microdesc.h')
-rw-r--r--src/or/microdesc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/microdesc.h b/src/or/microdesc.h
index 4e58aa33f0..7adb8c68af 100644
--- a/src/or/microdesc.h
+++ b/src/or/microdesc.h
@@ -39,7 +39,9 @@ smartlist_t *microdesc_list_missing_digest256(networkstatus_t *ns,
int downloadable_only,
digestmap_t *skip);
-void microdesc_free(microdesc_t *md);
+void microdesc_free_(microdesc_t *md, const char *fname, int line);
+#define microdesc_free(md) \
+ microdesc_free_((md), __FILE__, __LINE__)
void microdesc_free_all(void);
void update_microdesc_downloads(time_t now);