[tor-commits] [tor/master] fixed differing returntype in definition and declaration of dirserv_add_extrainfo

nickm at torproject.org nickm at torproject.org
Mon Oct 15 14:54:24 UTC 2012


commit 5a959163d3c4b9cf76a0e4a607d7d7b735c19594
Author: Markus Teich <markus.teich at stusta.mhn.de>
Date:   Mon Oct 15 14:44:44 2012 +0200

    fixed differing returntype in definition and declaration of dirserv_add_extrainfo
---
 src/or/dirserv.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index ec4ecfa..0e4f2e0 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -93,7 +93,7 @@ static const signed_descriptor_t *get_signed_descriptor_by_fp(
                                                         const char *fp,
                                                         int extrainfo,
                                                         time_t publish_cutoff);
-static int dirserv_add_extrainfo(extrainfo_t *ei, const char **msg);
+static was_router_added_t dirserv_add_extrainfo(extrainfo_t *ei, const char **msg);
 
 /************** Measured Bandwidth parsing code ******/
 #define MAX_MEASUREMENT_AGE (3*24*60*60) /* 3 days */



More information about the tor-commits mailing list