From: Markus Teich Date: Mon, 15 Oct 2012 12:44:44 +0000 (+0200) Subject: fixed differing returntype in definition and declaration of dirserv_add_extrainfo X-Git-Tag: tor-0.2.4.4-alpha~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a959163d3c4b9cf76a0e4a607d7d7b735c19594;p=thirdparty%2Ftor.git fixed differing returntype in definition and declaration of dirserv_add_extrainfo --- diff --git a/src/or/dirserv.c b/src/or/dirserv.c index ec4ecfa426..0e4f2e0bb6 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 */