From 7fbeb6b010cc50fc9440c3d918d0c7ff7eefd72a Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Wed, 15 Jul 2009 00:37:23 +0000 Subject: [PATCH] Missed the last info_hash --- ot_accesslist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ot_accesslist.c b/ot_accesslist.c index 2eaf674..14aec27 100644 --- a/ot_accesslist.c +++ b/ot_accesslist.c @@ -68,7 +68,7 @@ static void accesslist_readfile( int sig ) { memset( &accesslist_tmp, 0, sizeof(accesslist_tmp)); /* No use */ - map_end = map + maplen - 41; + map_end = map + maplen - 40; read_offs = map; /* We do ignore anything that is not of the form "^[:xdigit:]{40}[^:xdigit:].*" */ @@ -163,4 +163,4 @@ int accesslist_isblessed( ot_ip6 ip, ot_permissions permissions ) { return 0; } -const char *g_version_accesslist_c = "$Source: /home/cvsroot/opentracker/ot_accesslist.c,v $: $Revision: 1.23 $\n"; +const char *g_version_accesslist_c = "$Source: /home/cvsroot/opentracker/ot_accesslist.c,v $: $Revision: 1.24 $\n";