Browse Source

Fix incorrect prototype for accesslist_deinit

master
Dirk Engling 13 years ago
parent
commit
508e170d30
  1. 10
      ot_accesslist.c

10
ot_accesslist.c

@ -23,15 +23,15 @@
char *g_accesslist_filename = NULL;
static ot_vector accesslist;
static void access_list_deinit( void ) {
accesslist_reset( );
}
static void accesslist_reset( void ) {
free( accesslist.data );
byte_zero( &accesslist, sizeof( accesslist ) );
}
void accesslist_deinit( void ) {
accesslist_reset( );
}
static int accesslist_addentry( ot_hash *infohash ) {
int eger;
void *insert = vector_find_or_insert( &accesslist, infohash, OT_HASH_COMPARE_SIZE, OT_HASH_COMPARE_SIZE, &eger );
@ -130,4 +130,4 @@ int accesslist_isblessed( char *ip, ot_permissions permissions ) {
return 0;
}
const char *g_version_accesslist_c = "$Source: /home/cvsroot/opentracker/ot_accesslist.c,v $: $Revision: 1.12 $\n";
const char *g_version_accesslist_c = "$Source: /home/cvsroot/opentracker/ot_accesslist.c,v $: $Revision: 1.13 $\n";
Loading…
Cancel
Save